Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001982/0.001982, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002369/0.002369, allocations: 192.8 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.83/1.83, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.785/2.785, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.89 kB / 1.109 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7852/0.7872, allocations: 168.7 MB / 1.274 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007325/0.7946, allocations: 5.046 MB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004524/0.7991, allocations: 2.557 MB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003514/0.7994, allocations: 27.75 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.8007, allocations: 425.8 kB / 1.282 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.8017, allocations: 465.6 kB / 1.282 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008939/0.8026, allocations: 401.5 kB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001126/0.8037, allocations: 0.9212 MB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004997/0.8042, allocations: 265.2 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005672/0.8048, allocations: 350.6 kB / 1.284 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005586/0.8053, allocations: 366.5 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.594e-05/0.8054, allocations: 36 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000793/0.8062, allocations: 411.1 kB / 1.285 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.8064, allocations: 191.3 kB / 1.285 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003378/0.8067, allocations: 326.2 kB / 1.285 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.8079, allocations: 0.8986 MB / 1.286 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.8079, allocations: 0 / 1.286 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8079, allocations: 0 / 1.286 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.808, allocations: 0 / 1.286 GB, free: 7.926 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.00158/0.8095, allocations: 0.9572 MB / 1.287 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.8096, allocations: 12.03 kB / 1.287 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.8109, allocations: 216.1 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009521/0.8118, allocations: 0.5495 MB / 1.288 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.8119, allocations: 37.3 kB / 1.288 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-05/0.812, allocations: 48.36 kB / 1.288 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.8132, allocations: 0.8448 MB / 1.289 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.674e-05/0.8132, allocations: 11.88 kB / 1.289 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.415e-05/0.8133, allocations: 20 kB / 1.289 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.73e-05/0.8134, allocations: 60.95 kB / 1.289 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008857/0.8143, allocations: 0.5734 MB / 1.29 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005466/0.8197, allocations: 5.651 MB / 1.295 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007386/0.8205, allocations: 432.3 kB / 1.296 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003241/0.8208, allocations: 201.2 kB / 1.296 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.8208, allocations: 7.938 kB / 1.296 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.8209, allocations: 34.56 kB / 1.296 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=32): time 2.735e-06/0.8209, allocations: 0 / 1.296 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002898/0.8238, allocations: 1.524 MB / 1.297 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.8238, allocations: 59.69 kB / 1.297 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006078/0.8244, allocations: 0.4952 MB / 1.298 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.165e-05/0.8245, allocations: 29.7 kB / 1.298 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/0.8248, allocations: 375.6 kB / 1.298 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.8249, allocations: 127 kB / 1.298 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.8251, allocations: 110.2 kB / 1.298 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002059/0.8253, allocations: 362.8 kB / 1.299 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.8256, allocations: 193.2 kB / 1.299 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005229/0.8261, allocations: 451.3 kB / 1.299 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009037/0.827, allocations: 0.6841 MB / 1.3 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.827, allocations: 4 kB / 1.3 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001452/0.8285, allocations: 0.8173 MB / 1.301 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.8285, allocations: 8 kB / 1.301 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.8285, allocations: 8 kB / 1.301 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005188/0.829, allocations: 156.8 kB / 1.301 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004788/0.8295, allocations: 123.7 kB / 1.301 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00397/0.8335, allocations: 4.352 MB / 1.305 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004231/0.8339, allocations: 31.97 kB / 1.305 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/0.8339, allocations: 28.16 kB / 1.305 GB, free: 2.91 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003085/0.8342, allocations: 217.5 kB / 1.306 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.683e-05/0.8343, allocations: 63.62 kB / 1.306 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.8354, allocations: 0.597 MB / 1.306 GB, free: 2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.8354, allocations: 4 kB / 1.306 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.8354, allocations: 3.984 kB / 1.306 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.8354, allocations: 0 / 1.306 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.8374, allocations: 1.259 MB / 1.308 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.8374, allocations: 4 kB / 1.308 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.8377, allocations: 55.89 kB / 1.308 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004289/0.8381, allocations: 140.3 kB / 1.308 GB, free: 440 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.8382, allocations: 15.94 kB / 1.308 GB, free: 424 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003813/0.842, allocations: 4.332 MB / 1.312 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.842, allocations: 11.91 kB / 1.312 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.8431, allocations: 0.7209 MB / 1.313 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/0.8433, allocations: 164.7 kB / 1.313 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.257e-05/0.8434, allocations: 8 kB / 1.313 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.8436, allocations: 27.91 kB / 1.313 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/0.8437, allocations: 35.83 kB / 1.313 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.8437, allocations: 12 kB / 1.313 GB, free: 10.61 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004025/0.8441, allocations: 338.8 kB / 1.313 GB, free: 10.29 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.8441, allocations: 0 / 1.313 GB, free: 10.29 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006521/0.8448, allocations: 144 kB / 1.313 GB, free: 10.14 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001712/0.845, allocations: 117.2 kB / 1.313 GB, free: 10.02 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001518/0.8465, allocations: 1.005 MB / 1.314 GB, free: 8.938 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.8465, allocations: 4.125 kB / 1.314 GB, free: 8.934 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009268/0.8474, allocations: 0.7265 MB / 1.315 GB, free: 8.125 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.8484, allocations: 206.3 kB / 1.315 GB, free: 7.934 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.8502, allocations: 1.073 MB / 1.316 GB, free: 6.809 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006244/0.8508, allocations: 0.9059 MB / 1.317 GB, free: 5.875 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003084/0.8511, allocations: 117.3 kB / 1.317 GB, free: 5.758 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.561e-05/0.8512, allocations: 39.44 kB / 1.317 GB, free: 5.719 MB / 1.014 GB Notification: Performance of SimCode: time 7.42e-07/0.8512, allocations: 0 / 1.317 GB, free: 5.719 MB / 1.014 GB Notification: Performance of Templates: time 0.01582/0.867, allocations: 7.955 MB / 1.325 GB, free: 13.86 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.187385600060225]