Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001895/0.001895, allocations: 84.72 kB / 19.44 MB, free: 352 kB / 13.93 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.002097/0.002097, allocations: 157.7 kB / 22.76 MB, free: 1.676 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.494/1.494, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.185/3.185, allocations: 429.6 MB / 0.673 GB, free: 3.871 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.086e-05/3.315e-05, allocations: 5.75 kB / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02293/0.02296, allocations: 15.18 MB / 0.8924 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.009844/0.03281, allocations: 4.737 MB / 0.897 GB, free: 2.512 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001493/0.0343, allocations: 87.31 kB / 0.8971 GB, free: 2.426 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.003448/0.03775, allocations: 1.053 MB / 0.8982 GB, free: 1.367 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002257/0.04, allocations: 0.8002 MB / 0.8989 GB, free: 0.5625 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002676/0.04268, allocations: 0.9309 MB / 0.8998 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.004938/0.04762, allocations: 3.672 MB / 0.9034 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004499/0.05212, allocations: 2.45 MB / 0.9058 GB, free: 9.426 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004479/0.05659, allocations: 2.273 MB / 0.908 GB, free: 7.148 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003421/0.06002, allocations: 1.691 MB / 0.9097 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0009987/0.06101, allocations: 340 kB / 0.91 GB, free: 5.121 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002156/0.06317, allocations: 0.7448 MB / 0.9107 GB, free: 4.375 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.00245/0.06562, allocations: 1.426 MB / 0.9121 GB, free: 2.945 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.002503/0.06812, allocations: 1.021 MB / 0.9131 GB, free: 1.922 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.008204/0.07633, allocations: 5.244 MB / 0.9183 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.07633, allocations: 0 / 0.9183 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.663e-06/0.07634, allocations: 3.938 kB / 0.9183 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001994/0.07654, allocations: 0 / 0.9183 GB, free: 12.66 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.00803/0.08457, allocations: 2.615 MB / 0.9208 GB, free: 10 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.08461, allocations: 8.031 kB / 0.9208 GB, free: 9.992 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005577/0.09019, allocations: 1.259 MB / 0.9221 GB, free: 8.73 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003828/0.09402, allocations: 1.601 MB / 0.9236 GB, free: 7.094 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/0.09423, allocations: 177.1 kB / 0.9238 GB, free: 6.918 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007847/0.09501, allocations: 232.4 kB / 0.924 GB, free: 6.691 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009849/0.1049, allocations: 4.258 MB / 0.9282 GB, free: 2.27 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.336e-05/0.1049, allocations: 4.188 kB / 0.9282 GB, free: 2.266 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004209/0.1054, allocations: 100.4 kB / 0.9283 GB, free: 2.168 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002697/0.1056, allocations: 176.4 kB / 0.9284 GB, free: 1.992 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007676/0.1133, allocations: 3.625 MB / 0.932 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01916/0.1325, allocations: 10.54 MB / 0.9423 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00342/0.1359, allocations: 1.48 MB / 0.9437 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.1369, allocations: 0.5471 MB / 0.9442 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.137, allocations: 20.66 kB / 0.9443 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/0.1371, allocations: 51.14 kB / 0.9443 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=72): time 2.985e-06/0.1371, allocations: 0 / 0.9443 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of matching and sorting (n=76): time 0.006688/0.1438, allocations: 3.217 MB / 0.9475 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.93e-05/0.1438, allocations: 115.4 kB / 0.9476 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/0.1454, allocations: 1.04 MB / 0.9486 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 6.302e-05/0.1455, allocations: 45.77 kB / 0.9486 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009852/0.1465, allocations: 1.134 MB / 0.9497 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002939/0.1468, allocations: 281.7 kB / 0.95 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004541/0.1472, allocations: 275.4 kB / 0.9503 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002765/0.1475, allocations: 414.7 kB / 0.9507 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.1486, allocations: 0.6167 MB / 0.9513 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/0.1503, allocations: 1.189 MB / 0.9524 GB, free: 8.676 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002896/0.1531, allocations: 1.853 MB / 0.9542 GB, free: 6.555 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.662e-05/0.1532, allocations: 8 kB / 0.9542 GB, free: 6.547 MB / 0.9167 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003811/0.157, allocations: 2.089 MB / 0.9563 GB, free: 4.438 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/0.157, allocations: 12 kB / 0.9563 GB, free: 4.426 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-05/0.157, allocations: 20 kB / 0.9563 GB, free: 4.406 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000503/0.1576, allocations: 163.3 kB / 0.9565 GB, free: 4.234 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.1588, allocations: 355.3 kB / 0.9568 GB, free: 3.883 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.319e-05/0.1588, allocations: 43.8 kB / 0.9568 GB, free: 3.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009756/0.1598, allocations: 123.9 kB / 0.957 GB, free: 3.719 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.1599, allocations: 71.98 kB / 0.957 GB, free: 3.648 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001603/0.1616, allocations: 0.9693 MB / 0.958 GB, free: 2.668 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003098/0.1619, allocations: 139.3 kB / 0.9581 GB, free: 2.531 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002463/0.1643, allocations: 1.228 MB / 0.9593 GB, free: 1.273 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.1643, allocations: 8 kB / 0.9593 GB, free: 1.266 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.1643, allocations: 8 kB / 0.9593 GB, free: 1.258 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.507e-06/0.1644, allocations: 3.984 kB / 0.9593 GB, free: 1.254 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005809/0.1702, allocations: 2.889 MB / 0.9622 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.1702, allocations: 4 kB / 0.9622 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006596/0.1708, allocations: 160 kB / 0.9623 GB, free: 14.13 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000413/0.1712, allocations: 143.3 kB / 0.9624 GB, free: 13.98 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.822e-05/0.1713, allocations: 12 kB / 0.9625 GB, free: 13.96 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/0.1713, allocations: 11.94 kB / 0.9625 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1713, allocations: 0 / 0.9625 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/0.1737, allocations: 1.489 MB / 0.9639 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004961/0.1742, allocations: 211.2 kB / 0.9641 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.1743, allocations: 20 kB / 0.9641 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000606/0.1749, allocations: 63.91 kB / 0.9642 GB, free: 12.12 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.1751, allocations: 60.48 kB / 0.9643 GB, free: 12.06 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.628e-05/0.1751, allocations: 27.94 kB / 0.9643 GB, free: 12.04 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001022/0.1762, allocations: 0.6871 MB / 0.965 GB, free: 11.34 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.1762, allocations: 0 / 0.965 GB, free: 11.34 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001413/0.1776, allocations: 392 kB / 0.9653 GB, free: 10.95 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002274/0.1778, allocations: 131.1 kB / 0.9655 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002507/0.1803, allocations: 1.35 MB / 0.9668 GB, free: 9.457 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1803, allocations: 4.125 kB / 0.9668 GB, free: 9.453 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000962/0.1813, allocations: 0.5355 MB / 0.9673 GB, free: 8.906 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.1828, allocations: 273.9 kB / 0.9676 GB, free: 8.645 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007293/0.1901, allocations: 3.871 MB / 0.9713 GB, free: 4.695 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002321/0.1924, allocations: 1.34 MB / 0.9727 GB, free: 3.309 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001295/0.1937, allocations: 449.3 kB / 0.9731 GB, free: 2.867 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/0.194, allocations: 80.48 kB / 0.9732 GB, free: 2.789 MB / 0.9323 GB Notification: Performance of SimCode: time 1.923e-06/0.194, allocations: 0 / 0.9732 GB, free: 2.789 MB / 0.9323 GB Notification: Performance of Templates: time 0.02755/0.2216, allocations: 12.85 MB / 0.9857 GB, free: 6.25 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.607856336981058]