Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.0009465/0.0009465, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.0009573/0.0009573, allocations: 173 kB / 23.49 MB, free: 1.051 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 0.9372/0.9372, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 2.133/2.133, allocations: 429.5 MB / 0.6736 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 177] 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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.891e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01131/0.01134, allocations: 14.23 MB / 0.8921 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.009406/0.02074, allocations: 9.578 MB / 0.9014 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008169/0.02156, allocations: 83.25 kB / 0.9015 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.002127/0.02369, allocations: 1.723 MB / 0.9032 GB, free: 12.97 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002813/0.0265, allocations: 1.626 MB / 0.9048 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.02766, allocations: 0.7636 MB / 0.9055 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001892/0.02956, allocations: 2.601 MB / 0.9081 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.03062, allocations: 1.18 MB / 0.9092 GB, free: 6.746 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.03188, allocations: 1.594 MB / 0.9108 GB, free: 5.148 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.03291, allocations: 0.9934 MB / 0.9118 GB, free: 4.152 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.03307, allocations: 160 kB / 0.9119 GB, free: 3.996 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008361/0.03391, allocations: 0.7366 MB / 0.9126 GB, free: 3.258 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003906/0.0343, allocations: 0.6504 MB / 0.9133 GB, free: 2.605 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004703/0.03477, allocations: 0.6429 MB / 0.9139 GB, free: 1.961 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.03619, allocations: 1.806 MB / 0.9157 GB, free: 152 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.0362, allocations: 0 / 0.9157 GB, free: 152 kB / 0.8698 GB Notification: Performance of FrontEnd: time 1.222e-06/0.0362, allocations: 0 / 0.9157 GB, free: 152 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.879e-05/0.03622, allocations: 0 / 0.9157 GB, free: 152 kB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002161/0.03838, allocations: 2.194 MB / 0.9178 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.03841, allocations: 12.03 kB / 0.9178 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004949/0.04336, allocations: 1.778 MB / 0.9195 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.04461, allocations: 1.214 MB / 0.9207 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.922e-05/0.04466, allocations: 94.73 kB / 0.9208 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.04482, allocations: 120.4 kB / 0.9209 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/0.04698, allocations: 1.952 MB / 0.9228 GB, free: 8.453 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.473e-05/0.04702, allocations: 15.83 kB / 0.9229 GB, free: 8.438 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.04713, allocations: 47.98 kB / 0.9229 GB, free: 8.391 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000327/0.04746, allocations: 186.1 kB / 0.9231 GB, free: 8.207 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.04869, allocations: 0.8408 MB / 0.9239 GB, free: 7.355 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006388/0.05508, allocations: 8.326 MB / 0.932 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.05675, allocations: 0.8178 MB / 0.9328 GB, free: 14 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004898/0.05724, allocations: 354.5 kB / 0.9332 GB, free: 13.65 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.137e-05/0.05729, allocations: 17 kB / 0.9332 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.05733, allocations: 58.27 kB / 0.9332 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=89): time 2.344e-06/0.05733, allocations: 0 / 0.9332 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of matching and sorting (n=131): time 0.008473/0.0658, allocations: 4.845 MB / 0.938 GB, free: 8.672 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.06583, allocations: 68.72 kB / 0.938 GB, free: 8.594 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007107/0.06654, allocations: 0.9602 MB / 0.939 GB, free: 7.621 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.654e-05/0.06663, allocations: 45.7 kB / 0.939 GB, free: 7.57 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000485/0.06711, allocations: 0.7815 MB / 0.9398 GB, free: 6.781 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002673/0.06738, allocations: 479.9 kB / 0.9402 GB, free: 6.309 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003114/0.06769, allocations: 265.1 kB / 0.9405 GB, free: 6.043 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.06783, allocations: 0.5355 MB / 0.941 GB, free: 5.5 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005869/0.06842, allocations: 415.8 kB / 0.9414 GB, free: 5.094 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007441/0.06916, allocations: 0.7649 MB / 0.9422 GB, free: 4.199 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.0705, allocations: 1.227 MB / 0.9434 GB, free: 2.84 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.07051, allocations: 7.938 kB / 0.9434 GB, free: 2.832 MB / 0.9011 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003561/0.07407, allocations: 2.333 MB / 0.9456 GB, free: 444 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.07409, allocations: 8 kB / 0.9456 GB, free: 436 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.0741, allocations: 8 kB / 0.9457 GB, free: 428 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003371/0.07747, allocations: 1.292 MB / 0.9469 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007388/0.07821, allocations: 331.4 kB / 0.9472 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0139/0.0921, allocations: 26.4 MB / 0.973 GB, free: 2.746 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008343/0.09294, allocations: 187.7 kB / 0.9732 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.793e-05/0.09304, allocations: 63.95 kB / 0.9733 GB, free: 2.5 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003574/0.09339, allocations: 236.3 kB / 0.9735 GB, free: 2.258 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002409/0.09363, allocations: 199 kB / 0.9737 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003682/0.09732, allocations: 2.212 MB / 0.9758 GB, free: 15.78 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.09732, allocations: 12 kB / 0.9758 GB, free: 15.77 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.09733, allocations: 12 kB / 0.9759 GB, free: 15.76 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.09734, allocations: 15.91 kB / 0.9759 GB, free: 15.74 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004964/0.1023, allocations: 3.664 MB / 0.9794 GB, free: 11.94 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.1023, allocations: 7.938 kB / 0.9795 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000602/0.1029, allocations: 259.6 kB / 0.9797 GB, free: 11.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002957/0.1059, allocations: 1.221 MB / 0.9809 GB, free: 10.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.936e-05/0.106, allocations: 51.95 kB / 0.9809 GB, free: 10.35 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01296/0.1189, allocations: 25.59 MB / 1.006 GB, free: 15.16 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.1189, allocations: 7.938 kB / 1.006 GB, free: 15.15 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003265/0.1222, allocations: 2.197 MB / 1.008 GB, free: 12.83 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004389/0.1226, allocations: 354.8 kB / 1.008 GB, free: 12.48 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.1228, allocations: 32 kB / 1.008 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000727/0.1235, allocations: 191.7 kB / 1.009 GB, free: 12.27 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000291/0.1238, allocations: 132.6 kB / 1.009 GB, free: 12.14 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.836e-05/0.1239, allocations: 55.95 kB / 1.009 GB, free: 12.08 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0006152/0.1245, allocations: 0.5841 MB / 1.009 GB, free: 11.49 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.1245, allocations: 0 / 1.009 GB, free: 11.49 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001345/0.1258, allocations: 0.5703 MB / 1.01 GB, free: 10.92 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002447/0.1261, allocations: 136.2 kB / 1.01 GB, free: 10.78 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003498/0.1296, allocations: 3.896 MB / 1.014 GB, free: 6.652 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1296, allocations: 4.062 kB / 1.014 GB, free: 6.648 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002472/0.132, allocations: 3.268 MB / 1.017 GB, free: 3.145 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.1333, allocations: 0.5207 MB / 1.018 GB, free: 2.645 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003697/0.137, allocations: 3.012 MB / 1.021 GB, free: 15.55 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.1373, allocations: 455.1 kB / 1.021 GB, free: 15.08 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0007553/0.1381, allocations: 352.3 kB / 1.021 GB, free: 14.73 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/0.1383, allocations: 104.4 kB / 1.021 GB, free: 14.63 MB / 0.9948 GB Notification: Performance of SimCode: time 2.334e-06/0.1383, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.9948 GB Notification: Performance of Templates: time 0.3987/0.537, allocations: 40.88 MB / 1.061 GB, free: 193.5 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.374128380091861]