Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.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.0009431/0.0009431, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009492/0.0009492, allocations: 161 kB / 23.82 MB, free: 0.75 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.9175/0.9175, allocations: 177.1 MB / 204.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.703/1.703, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Lines.Examples.ACLine_R,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,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,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,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/1.869e-05, allocations: 9.062 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.004148/0.004166, allocations: 4.882 MB / 0.7919 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002357/0.006524, allocations: 1.724 MB / 0.7936 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002671/0.006791, allocations: 39.62 kB / 0.7936 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005143/0.007305, allocations: 206.5 kB / 0.7938 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0008158/0.008121, allocations: 453.4 kB / 0.7942 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005918/0.008713, allocations: 398.2 kB / 0.7946 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001039/0.009752, allocations: 1.281 MB / 0.7959 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006069/0.01036, allocations: 0.5333 MB / 0.7964 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006255/0.01098, allocations: 0.6741 MB / 0.797 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005031/0.01149, allocations: 0.4895 MB / 0.7975 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.51e-05/0.01156, allocations: 64 kB / 0.7976 GB, free: 1.754 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.01178, allocations: 143.8 kB / 0.7977 GB, free: 1.613 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.01197, allocations: 335 kB / 0.798 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.01217, allocations: 303.3 kB / 0.7983 GB, free: 0.9883 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006128/0.01279, allocations: 0.7396 MB / 0.799 GB, free: 252 kB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.01279, allocations: 0.5 kB / 0.799 GB, free: 252 kB / 0.7448 GB Notification: Performance of FrontEnd: time 7.81e-07/0.01279, allocations: 0.5312 kB / 0.799 GB, free: 252 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.0128, allocations: 0 / 0.799 GB, free: 252 kB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001098/0.0139, allocations: 1.185 MB / 0.8002 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.01393, allocations: 8.031 kB / 0.8002 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007944/0.01472, allocations: 321.2 kB / 0.8005 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005628/0.01529, allocations: 0.5561 MB / 0.8011 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002865/0.01557, allocations: 57.59 kB / 0.8011 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.439e-05/0.01565, allocations: 74.16 kB / 0.8012 GB, free: 14 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000803/0.01645, allocations: 1.076 MB / 0.8022 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.01647, allocations: 4.125 kB / 0.8022 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.616e-05/0.01652, allocations: 40.34 kB / 0.8023 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.096e-05/0.01661, allocations: 85.2 kB / 0.8024 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004658/0.01707, allocations: 355.8 kB / 0.8027 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003198/0.02027, allocations: 5.718 MB / 0.8083 GB, free: 6.332 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004649/0.02074, allocations: 284.8 kB / 0.8086 GB, free: 6.039 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.0209, allocations: 137.1 kB / 0.8087 GB, free: 5.902 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.02092, allocations: 8.5 kB / 0.8087 GB, free: 5.895 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.02094, allocations: 41.89 kB / 0.8087 GB, free: 5.844 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=47): time 1.853e-06/0.02095, allocations: 0 / 0.8087 GB, free: 5.844 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48): time 0.001687/0.02263, allocations: 1.087 MB / 0.8098 GB, free: 4.734 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.02266, allocations: 59.89 kB / 0.8098 GB, free: 4.664 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.023, allocations: 0.5297 MB / 0.8104 GB, free: 4.117 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.02303, allocations: 33.7 kB / 0.8104 GB, free: 4.078 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.02321, allocations: 482.5 kB / 0.8109 GB, free: 3.598 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.859e-05/0.0233, allocations: 174.5 kB / 0.811 GB, free: 3.426 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.02342, allocations: 136.2 kB / 0.8112 GB, free: 3.281 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.02356, allocations: 0.5391 MB / 0.8117 GB, free: 2.73 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.02371, allocations: 113.9 kB / 0.8118 GB, free: 2.621 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.02398, allocations: 428.6 kB / 0.8122 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004995/0.02448, allocations: 0.5819 MB / 0.8128 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.02448, allocations: 4 kB / 0.8128 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008532/0.02534, allocations: 0.7496 MB / 0.8135 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.02536, allocations: 9.406 kB / 0.8135 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.02536, allocations: 8 kB / 0.8135 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006913/0.02606, allocations: 306.4 kB / 0.8138 GB, free: 256 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.0263, allocations: 127.8 kB / 0.8139 GB, free: 128 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003903/0.03021, allocations: 7.61 MB / 0.8214 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.03048, allocations: 39.95 kB / 0.8214 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.088e-05/0.03053, allocations: 31.94 kB / 0.8214 GB, free: 7.949 MB / 0.7761 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,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.0001945/0.03072, allocations: 200.5 kB / 0.8216 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-05/0.03082, allocations: 87.58 kB / 0.8217 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000933/0.03175, allocations: 0.5415 MB / 0.8222 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.03175, allocations: 4 kB / 0.8222 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.03176, allocations: 4 kB / 0.8222 GB, free: 7.09 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.03176, allocations: 7.984 kB / 0.8223 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.03292, allocations: 1.169 MB / 0.8234 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.03292, allocations: 0 / 0.8234 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.03305, allocations: 63.83 kB / 0.8235 GB, free: 5.766 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006229/0.03368, allocations: 298.6 kB / 0.8237 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.0337, allocations: 8 kB / 0.8237 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003548/0.03725, allocations: 7.603 MB / 0.8312 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.03725, allocations: 4 kB / 0.8312 GB, free: 13.35 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006769/0.03793, allocations: 0.7323 MB / 0.8319 GB, free: 12.56 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.03805, allocations: 107.7 kB / 0.832 GB, free: 12.45 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/0.03808, allocations: 12.03 kB / 0.832 GB, free: 12.44 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.03825, allocations: 39.94 kB / 0.832 GB, free: 12.4 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.545e-05/0.03834, allocations: 47.8 kB / 0.8321 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.03836, allocations: 12 kB / 0.8321 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002045/0.03856, allocations: 346.8 kB / 0.8324 GB, free: 12.01 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.03856, allocations: 4 kB / 0.8324 GB, free: 12 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004724/0.03903, allocations: 220 kB / 0.8326 GB, free: 11.79 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,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.0001092/0.03914, allocations: 115.2 kB / 0.8328 GB, free: 11.66 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0009806/0.04012, allocations: 1.187 MB / 0.8339 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.04013, allocations: 0 / 0.8339 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0005968/0.04072, allocations: 0.9689 MB / 0.8349 GB, free: 9.367 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005481/0.04127, allocations: 202.4 kB / 0.8351 GB, free: 9.172 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.04311, allocations: 1.272 MB / 0.8363 GB, free: 7.836 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.04327, allocations: 211.4 kB / 0.8365 GB, free: 7.605 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002157/0.04348, allocations: 97.53 kB / 0.8366 GB, free: 7.508 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.74e-05/0.04356, allocations: 48.48 kB / 0.8366 GB, free: 7.461 MB / 0.7917 GB Notification: Performance of SimCode: time 9.11e-07/0.04356, allocations: 4 kB / 0.8366 GB, free: 7.457 MB / 0.7917 GB Notification: Performance of Templates: time 0.01349/0.05705, allocations: 11.98 MB / 0.8483 GB, free: 11.72 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.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: 4.893746987916529]