Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001842/0.001842, allocations: 83.69 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.001964/0.001964, allocations: 161.7 kB / 23.55 MB, free: 0.875 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.632/1.632, 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.051/3.051, allocations: 377.8 MB / 0.6232 GB, free: 8.516 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.267e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.05151/0.05153, allocations: 35.41 MB / 0.8454 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01979/0.07132, allocations: 10.16 MB / 0.8553 GB, free: 4.449 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003209/0.07453, allocations: 190.6 kB / 0.8555 GB, free: 4.262 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.01111/0.08564, allocations: 3.937 MB / 0.8594 GB, free: 316 kB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.006287/0.09192, allocations: 2.206 MB / 0.8615 GB, free: 14.09 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00536/0.09728, allocations: 1.988 MB / 0.8634 GB, free: 12.09 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01099/0.1083, allocations: 8.129 MB / 0.8714 GB, free: 3.941 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008601/0.1169, allocations: 5.273 MB / 0.8765 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008859/0.1257, allocations: 4.935 MB / 0.8814 GB, free: 9.602 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007336/0.1331, allocations: 3.695 MB / 0.885 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.001731/0.1348, allocations: 0.6797 MB / 0.8856 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003381/0.1382, allocations: 1.369 MB / 0.887 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.003933/0.1421, allocations: 2.845 MB / 0.8897 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.004486/0.1466, allocations: 2.191 MB / 0.8919 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.01497/0.1616, allocations: 10.65 MB / 0.9023 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1616, allocations: 0 / 0.9023 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.084e-06/0.1616, allocations: 0 / 0.9023 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003206/0.1619, allocations: 0 / 0.9023 GB, free: 4.125 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01564/0.1775, allocations: 6.224 MB / 0.9084 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.1776, allocations: 8.031 kB / 0.9084 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005882/0.1835, allocations: 1.511 MB / 0.9098 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008624/0.1921, allocations: 3.114 MB / 0.9129 GB, free: 9.129 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005212/0.1926, allocations: 361.9 kB / 0.9132 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002475/0.1951, allocations: 484.3 kB / 0.9137 GB, free: 8.301 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01297/0.2081, allocations: 5.991 MB / 0.9195 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001194/0.2082, allocations: 20.02 kB / 0.9196 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005467/0.2087, allocations: 212.3 kB / 0.9198 GB, free: 1.418 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008521/0.2096, allocations: 377 kB / 0.9201 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006613/0.2162, allocations: 2.127 MB / 0.9222 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0462/0.2624, allocations: 31.43 MB / 0.9529 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002679/0.2651, allocations: 1.047 MB / 0.9539 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/0.2665, allocations: 0.7157 MB / 0.9546 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.2666, allocations: 25.31 kB / 0.9546 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.245e-05/0.2667, allocations: 58.69 kB / 0.9547 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=157): time 3.968e-06/0.2667, allocations: 3.938 kB / 0.9547 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of matching and sorting (n=160): time 0.01265/0.2793, allocations: 4.28 MB / 0.9589 GB, free: 8.301 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/0.2794, allocations: 68.72 kB / 0.9589 GB, free: 8.219 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00332/0.2827, allocations: 2.237 MB / 0.9611 GB, free: 5.938 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001832/0.2829, allocations: 49.7 kB / 0.9612 GB, free: 5.883 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002405/0.2853, allocations: 2.363 MB / 0.9635 GB, free: 3.492 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008054/0.2861, allocations: 0.6357 MB / 0.9641 GB, free: 2.852 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000839/0.2869, allocations: 481.9 kB / 0.9646 GB, free: 2.371 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002482/0.2872, allocations: 480.7 kB / 0.965 GB, free: 1.898 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/0.2883, allocations: 0.508 MB / 0.9655 GB, free: 1.387 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002241/0.2906, allocations: 1.578 MB / 0.9671 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003907/0.2945, allocations: 2.285 MB / 0.9693 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.232e-05/0.2945, allocations: 4 kB / 0.9693 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006792/0.3013, allocations: 2.722 MB / 0.972 GB, free: 9.879 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/0.3013, allocations: 12 kB / 0.972 GB, free: 9.867 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.432e-05/0.3014, allocations: 28.12 kB / 0.972 GB, free: 9.84 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003511/0.3049, allocations: 0.8353 MB / 0.9728 GB, free: 8.953 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001813/0.3067, allocations: 427.3 kB / 0.9732 GB, free: 8.535 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02724/0.3339, allocations: 23.95 MB / 0.9966 GB, free: 15.12 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/0.336, allocations: 123.9 kB / 0.9967 GB, free: 15 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002471/0.3363, allocations: 95.98 kB / 0.9968 GB, free: 14.9 MB / 0.9636 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.001604/0.3379, allocations: 451.8 kB / 0.9972 GB, free: 14.45 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006807/0.3386, allocations: 298.5 kB / 0.9975 GB, free: 14.16 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004988/0.3436, allocations: 1.958 MB / 0.9994 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/0.3436, allocations: 16 kB / 0.9995 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/0.3436, allocations: 8 kB / 0.9995 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.29e-05/0.3436, allocations: 7.969 kB / 0.9995 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01459/0.3582, allocations: 6.539 MB / 1.006 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.3582, allocations: 7.984 kB / 1.006 GB, free: 5.383 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.3593, allocations: 219.6 kB / 1.006 GB, free: 5.168 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003241/0.3625, allocations: 0.7933 MB / 1.007 GB, free: 4.324 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/0.3626, allocations: 40 kB / 1.007 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02663/0.3893, allocations: 23.9 MB / 1.03 GB, free: 10.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.431e-05/0.3893, allocations: 11.94 kB / 1.03 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005724/0.395, allocations: 2.276 MB / 1.032 GB, free: 8.461 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001674/0.3967, allocations: 430.2 kB / 1.033 GB, free: 8.039 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003932/0.3971, allocations: 39.94 kB / 1.033 GB, free: 8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.3983, allocations: 91.89 kB / 1.033 GB, free: 7.91 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004617/0.3987, allocations: 152.9 kB / 1.033 GB, free: 7.762 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/0.3989, allocations: 44 kB / 1.033 GB, free: 7.719 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.004506/0.4034, allocations: 1.227 MB / 1.034 GB, free: 6.473 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4034, allocations: 0 / 1.034 GB, free: 6.473 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.005247/0.4086, allocations: 0.9062 MB / 1.035 GB, free: 5.566 MB / 0.9948 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005627/0.4092, allocations: 159 kB / 1.035 GB, free: 5.398 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.009758/0.4189, allocations: 4.056 MB / 1.039 GB, free: 1.137 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.716e-05/0.4189, allocations: 7.938 kB / 1.039 GB, free: 1.129 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.006602/0.4255, allocations: 3.156 MB / 1.042 GB, free: 13.75 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005384/0.4309, allocations: 0.7673 MB / 1.043 GB, free: 13 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/0.4451, allocations: 7.169 MB / 1.05 GB, free: 5.688 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003715/0.4488, allocations: 2.387 MB / 1.053 GB, free: 3.266 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001758/0.4506, allocations: 440.5 kB / 1.053 GB, free: 2.832 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004018/0.451, allocations: 140.5 kB / 1.053 GB, free: 2.695 MB / 1.01 GB Notification: Performance of SimCode: time 1.593e-06/0.451, allocations: 0 / 1.053 GB, free: 2.695 MB / 1.01 GB Notification: Performance of Templates: time 0.412/0.863, allocations: 42.68 MB / 1.095 GB, free: 247.9 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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: 10.14666801202111]