Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002346/0.002346, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002738/0.002738, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.592/1.592, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.083/3.083, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.937e-05/3.082e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007984/0.008015, allocations: 4.872 MB / 0.8156 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005061/0.01308, allocations: 2.509 MB / 0.818 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004077/0.01348, allocations: 39.56 kB / 0.818 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.01482, allocations: 428.3 kB / 0.8185 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.01603, allocations: 485 kB / 0.8189 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009794/0.01701, allocations: 401.7 kB / 0.8193 GB, free: 9.41 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001302/0.01831, allocations: 0.9578 MB / 0.8202 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005741/0.01889, allocations: 326.4 kB / 0.8205 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008168/0.0197, allocations: 486.7 kB / 0.821 GB, free: 7.652 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005618/0.02027, allocations: 313 kB / 0.8213 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.997e-05/0.02035, allocations: 36 kB / 0.8213 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008382/0.02118, allocations: 370.9 kB / 0.8217 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002545/0.02144, allocations: 187.4 kB / 0.8219 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003225/0.02176, allocations: 218 kB / 0.8221 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001616/0.02338, allocations: 0.911 MB / 0.823 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.02339, allocations: 3.984 kB / 0.823 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.704e-06/0.02339, allocations: 0 / 0.823 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.0234, allocations: 0 / 0.823 GB, free: 5.637 MB / 0.7761 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.001768/0.02517, allocations: 1.027 MB / 0.824 GB, free: 4.574 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.02521, allocations: 8.031 kB / 0.824 GB, free: 4.566 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001427/0.02663, allocations: 288.5 kB / 0.8243 GB, free: 4.289 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.02764, allocations: 0.5087 MB / 0.8248 GB, free: 3.762 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.01e-05/0.02768, allocations: 34.11 kB / 0.8248 GB, free: 3.73 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.02778, allocations: 52.31 kB / 0.8248 GB, free: 3.68 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.02903, allocations: 0.9021 MB / 0.8257 GB, free: 2.574 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/0.02906, allocations: 8.125 kB / 0.8257 GB, free: 2.566 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.072e-05/0.02911, allocations: 20.38 kB / 0.8258 GB, free: 2.547 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/0.02922, allocations: 68.89 kB / 0.8258 GB, free: 2.477 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000675/0.02989, allocations: 344.6 kB / 0.8261 GB, free: 2.141 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006314/0.0362, allocations: 6.411 MB / 0.8324 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.03675, allocations: 261 kB / 0.8327 GB, free: 11.23 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.03696, allocations: 96.19 kB / 0.8327 GB, free: 11.13 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 4.002e-05/0.037, allocations: 4 kB / 0.8328 GB, free: 11.12 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.03705, allocations: 49.38 kB / 0.8328 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=32): time 2.495e-06/0.03705, allocations: 0 / 0.8328 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of matching and sorting (n=33): time 0.002266/0.03931, allocations: 0.7425 MB / 0.8335 GB, free: 10.3 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.03936, allocations: 55.69 kB / 0.8336 GB, free: 10.23 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000697/0.04006, allocations: 0.5922 MB / 0.8342 GB, free: 9.621 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.04009, allocations: 29.7 kB / 0.8342 GB, free: 9.586 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003591/0.04045, allocations: 431 kB / 0.8346 GB, free: 9.156 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.0406, allocations: 131 kB / 0.8347 GB, free: 9.027 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/0.0408, allocations: 123.9 kB / 0.8348 GB, free: 8.898 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003537/0.04115, allocations: 0.5625 MB / 0.8354 GB, free: 8.324 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.04137, allocations: 105.3 kB / 0.8355 GB, free: 8.223 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005863/0.04196, allocations: 480.4 kB / 0.8359 GB, free: 7.594 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.04306, allocations: 0.6292 MB / 0.8366 GB, free: 6.805 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.04307, allocations: 8 kB / 0.8366 GB, free: 6.797 MB / 0.7917 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001328/0.0444, allocations: 0.6512 MB / 0.8372 GB, free: 6.117 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.04442, allocations: 8 kB / 0.8372 GB, free: 6.109 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.04444, allocations: 12 kB / 0.8372 GB, free: 6.098 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005822/0.04502, allocations: 147.1 kB / 0.8374 GB, free: 5.934 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/0.04552, allocations: 123.8 kB / 0.8375 GB, free: 5.812 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004731/0.05025, allocations: 5.315 MB / 0.8427 GB, free: 136 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004492/0.0507, allocations: 35.97 kB / 0.8427 GB, free: 100 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.782e-05/0.05075, allocations: 28 kB / 0.8427 GB, free: 72 kB / 0.7917 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.0003077/0.05105, allocations: 224.3 kB / 0.8429 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.05118, allocations: 71.62 kB / 0.843 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.05236, allocations: 401.3 kB / 0.8434 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.05236, allocations: 12 kB / 0.8434 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.05237, allocations: 7.938 kB / 0.8434 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.257e-06/0.05237, allocations: 0 / 0.8434 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.05425, allocations: 1.014 MB / 0.8444 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.05426, allocations: 4 kB / 0.8444 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/0.05455, allocations: 47.95 kB / 0.8445 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004604/0.05501, allocations: 134.5 kB / 0.8446 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/0.05504, allocations: 11.98 kB / 0.8446 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004561/0.0596, allocations: 5.311 MB / 0.8498 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.05961, allocations: 4 kB / 0.8498 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.06078, allocations: 0.5892 MB / 0.8504 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002569/0.06104, allocations: 91.58 kB / 0.8504 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.182e-05/0.0611, allocations: 12 kB / 0.8505 GB, free: 7.566 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.06136, allocations: 19.97 kB / 0.8505 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.256e-05/0.06145, allocations: 35.88 kB / 0.8505 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.06148, allocations: 15.94 kB / 0.8505 GB, free: 7.496 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004323/0.06191, allocations: 366.8 kB / 0.8509 GB, free: 7.141 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.06191, allocations: 0 / 0.8509 GB, free: 7.141 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0006723/0.06258, allocations: 152 kB / 0.851 GB, free: 6.992 MB / 0.8073 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.0001557/0.06274, allocations: 103.2 kB / 0.8511 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001464/0.0642, allocations: 0.883 MB / 0.852 GB, free: 5.938 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.06421, allocations: 0 / 0.852 GB, free: 5.938 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0009436/0.06515, allocations: 0.6737 MB / 0.8526 GB, free: 5.199 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.06618, allocations: 191.6 kB / 0.8528 GB, free: 5.02 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.06793, allocations: 1.012 MB / 0.8538 GB, free: 3.941 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.0683, allocations: 303.9 kB / 0.8541 GB, free: 3.613 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002882/0.06859, allocations: 93.09 kB / 0.8542 GB, free: 3.52 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.879e-05/0.06869, allocations: 36.5 kB / 0.8542 GB, free: 3.484 MB / 0.8073 GB Notification: Performance of SimCode: time 6.01e-07/0.06869, allocations: 0 / 0.8542 GB, free: 3.484 MB / 0.8073 GB Notification: Performance of Templates: time 0.01655/0.08524, allocations: 7.87 MB / 0.8619 GB, free: 11.84 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.47337049106136]