Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001293/0.001293, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.001689/0.001689, allocations: 188.9 kB / 22.22 MB, free: 5.105 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.424/1.424, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.134/3.134, allocations: 0.4893 GB / 0.7884 GB, free: 32.98 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 74.38 kB / 1.145 GB, free: 30.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3183, allocations: 174.9 MB / 1.316 GB, free: 9.688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04517/0.3635, allocations: 34.27 MB / 1.349 GB, free: 7.309 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0185/0.382, allocations: 10.65 MB / 1.36 GB, free: 12.63 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002635/0.3846, allocations: 202.4 kB / 1.36 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0102/0.3948, allocations: 3.883 MB / 1.364 GB, free: 8.539 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005597/0.4004, allocations: 1.944 MB / 1.366 GB, free: 6.586 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005812/0.4062, allocations: 2.207 MB / 1.368 GB, free: 4.379 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01045/0.4167, allocations: 7.323 MB / 1.375 GB, free: 13.04 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008285/0.425, allocations: 4.833 MB / 1.38 GB, free: 8.078 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006024/0.431, allocations: 3.264 MB / 1.383 GB, free: 4.805 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006758/0.4378, allocations: 3.676 MB / 1.387 GB, free: 1.117 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001582/0.4393, allocations: 0.6484 MB / 1.387 GB, free: 480 kB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004154/0.4435, allocations: 1.81 MB / 1.389 GB, free: 14.66 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003541/0.447, allocations: 2.611 MB / 1.392 GB, free: 12.04 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.004592/0.4516, allocations: 2.898 MB / 1.394 GB, free: 9.129 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.4642, allocations: 10.14 MB / 1.404 GB, free: 14.96 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.4642, allocations: 0 / 1.404 GB, free: 14.96 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4642, allocations: 4 kB / 1.404 GB, free: 14.96 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002901/0.4645, allocations: 0 / 1.404 GB, free: 14.96 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01155/0.4761, allocations: 5.044 MB / 1.409 GB, free: 9.852 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.4761, allocations: 12.03 kB / 1.409 GB, free: 9.84 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005376/0.4815, allocations: 0.9813 MB / 1.41 GB, free: 8.855 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006591/0.4881, allocations: 2.991 MB / 1.413 GB, free: 5.793 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003319/0.4884, allocations: 349.7 kB / 1.413 GB, free: 5.449 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/0.4896, allocations: 476.2 kB / 1.414 GB, free: 4.984 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01585/0.5054, allocations: 7.667 MB / 1.421 GB, free: 12.97 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001276/0.5056, allocations: 23.83 kB / 1.421 GB, free: 12.95 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005187/0.5061, allocations: 200 kB / 1.422 GB, free: 12.75 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003923/0.5065, allocations: 312.9 kB / 1.422 GB, free: 12.44 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01096/0.5174, allocations: 5.714 MB / 1.427 GB, free: 6.711 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03996/0.5574, allocations: 34.56 MB / 1.461 GB, free: 0.9375 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002676/0.5601, allocations: 1.561 MB / 1.463 GB, free: 15.37 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001647/0.5617, allocations: 1.124 MB / 1.464 GB, free: 14.25 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.878e-05/0.5618, allocations: 13.31 kB / 1.464 GB, free: 14.23 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/0.5619, allocations: 55.81 kB / 1.464 GB, free: 14.17 MB / 1.17 GB Notification: Performance of pre-optimization done (n=133): time 2.945e-06/0.5619, allocations: 0 / 1.464 GB, free: 14.17 MB / 1.17 GB Notification: Performance of matching and sorting (n=136): time 0.01365/0.5755, allocations: 6.211 MB / 1.47 GB, free: 7.918 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/0.5756, allocations: 68.66 kB / 1.47 GB, free: 7.84 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00212/0.5777, allocations: 1.48 MB / 1.471 GB, free: 6.312 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.5778, allocations: 45.7 kB / 1.472 GB, free: 6.262 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001627/0.5794, allocations: 2.081 MB / 1.474 GB, free: 4.16 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005014/0.5799, allocations: 0.4957 MB / 1.474 GB, free: 3.66 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005432/0.5805, allocations: 347.4 kB / 1.474 GB, free: 3.312 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.5806, allocations: 305.1 kB / 1.475 GB, free: 3.012 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/0.582, allocations: 0.9096 MB / 1.476 GB, free: 2.102 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001938/0.584, allocations: 1.597 MB / 1.477 GB, free: 200 kB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003588/0.5875, allocations: 2.733 MB / 1.48 GB, free: 13.15 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.5876, allocations: 8 kB / 1.48 GB, free: 13.14 MB / 1.186 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006354/0.5939, allocations: 3.511 MB / 1.483 GB, free: 9.582 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.5939, allocations: 16 kB / 1.483 GB, free: 9.566 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.304e-05/0.594, allocations: 20 kB / 1.483 GB, free: 9.547 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002706/0.5967, allocations: 0.9122 MB / 1.484 GB, free: 8.598 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.5978, allocations: 347.4 kB / 1.484 GB, free: 8.258 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02291/0.6207, allocations: 21.89 MB / 1.506 GB, free: 1 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.6222, allocations: 99.95 kB / 1.506 GB, free: 0.9023 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/0.6224, allocations: 88 kB / 1.506 GB, free: 0.8164 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002642/0.625, allocations: 1.604 MB / 1.508 GB, free: 15.2 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003947/0.6254, allocations: 226.6 kB / 1.508 GB, free: 14.98 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005575/0.631, allocations: 2.963 MB / 1.511 GB, free: 11.97 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/0.631, allocations: 16 kB / 1.511 GB, free: 11.95 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-05/0.631, allocations: 8 kB / 1.511 GB, free: 11.95 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/0.6311, allocations: 15.91 kB / 1.511 GB, free: 11.93 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/0.6435, allocations: 7.281 MB / 1.518 GB, free: 4.422 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.6435, allocations: 4 kB / 1.518 GB, free: 4.418 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007739/0.6443, allocations: 175.7 kB / 1.518 GB, free: 4.246 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002465/0.6468, allocations: 0.8222 MB / 1.519 GB, free: 3.387 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.6469, allocations: 28 kB / 1.519 GB, free: 3.359 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02142/0.6683, allocations: 20.74 MB / 1.539 GB, free: 13.24 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/0.6683, allocations: 7.938 kB / 1.539 GB, free: 13.23 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005526/0.6738, allocations: 3.011 MB / 1.542 GB, free: 10.11 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/0.675, allocations: 398.5 kB / 1.542 GB, free: 9.715 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002508/0.6752, allocations: 35.88 kB / 1.542 GB, free: 9.68 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007664/0.676, allocations: 71.91 kB / 1.543 GB, free: 9.609 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003907/0.6764, allocations: 136.5 kB / 1.543 GB, free: 9.477 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.98e-05/0.6765, allocations: 40 kB / 1.543 GB, free: 9.438 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001476/0.678, allocations: 0.9795 MB / 1.544 GB, free: 8.434 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.3e-07/0.678, allocations: 0 / 1.544 GB, free: 8.434 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002715/0.6807, allocations: 0.7852 MB / 1.544 GB, free: 7.648 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002517/0.6809, allocations: 143.6 kB / 1.545 GB, free: 7.5 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.005974/0.6869, allocations: 3.913 MB / 1.548 GB, free: 3.434 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.6869, allocations: 0 / 1.548 GB, free: 3.434 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.003881/0.6908, allocations: 2.667 MB / 1.551 GB, free: 0.6094 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003074/0.6939, allocations: 0.7231 MB / 1.552 GB, free: 15.91 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/0.7071, allocations: 7.359 MB / 1.559 GB, free: 8.461 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0038/0.7109, allocations: 3.113 MB / 1.562 GB, free: 5.32 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001385/0.7123, allocations: 450 kB / 1.562 GB, free: 4.879 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002923/0.7126, allocations: 123.4 kB / 1.562 GB, free: 4.758 MB / 1.264 GB Notification: Performance of SimCode: time 1.503e-06/0.7126, allocations: 0 / 1.562 GB, free: 4.758 MB / 1.264 GB Notification: Performance of Templates: time 0.07108/0.7837, allocations: 37.9 MB / 1.599 GB, free: 15.27 MB / 1.311 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.979381240904331]