Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.0009973/0.0009973, 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.001093/0.001093, 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 1.009/1.009, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.954/1.954, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 177] 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 0.7871 GB, free: 11.38 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0005593/0.000562, allocations: 2.906 kB / 0.7871 GB, free: 11.37 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02057/0.02113, allocations: 21.49 MB / 0.8081 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01308/0.03421, allocations: 6.182 MB / 0.8141 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003568/0.03778, allocations: 202.6 kB / 0.8143 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002778/0.04056, allocations: 0.9202 MB / 0.8152 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.005188/0.04574, allocations: 2.042 MB / 0.8172 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003904/0.04965, allocations: 1.845 MB / 0.819 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01061/0.06026, allocations: 9.333 MB / 0.8281 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009489/0.06975, allocations: 6.187 MB / 0.8342 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01028/0.08003, allocations: 5.731 MB / 0.8398 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007148/0.08718, allocations: 4.482 MB / 0.8442 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.002417/0.0896, allocations: 0.8321 MB / 0.845 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003165/0.09276, allocations: 0.906 MB / 0.8459 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.004239/0.097, allocations: 3.422 MB / 0.8492 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.005778/0.1028, allocations: 2.596 MB / 0.8517 GB, free: 8.961 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.008766/0.1115, allocations: 6.358 MB / 0.8579 GB, free: 2.586 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 9.347e-06/0.1116, allocations: 3.938 kB / 0.8579 GB, free: 2.582 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.374e-06/0.1116, allocations: 0 / 0.8579 GB, free: 2.582 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.000352/0.1119, allocations: 0 / 0.8579 GB, free: 2.582 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01037/0.1223, allocations: 6.602 MB / 0.8644 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/0.1223, allocations: 12.02 kB / 0.8644 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004108/0.1264, allocations: 1.71 MB / 0.8661 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004966/0.1314, allocations: 3.5 MB / 0.8695 GB, free: 6.625 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002442/0.1317, allocations: 427.7 kB / 0.8699 GB, free: 6.207 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006179/0.1323, allocations: 0.555 MB / 0.8704 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009049/0.1413, allocations: 6.276 MB / 0.8766 GB, free: 14.71 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.724e-05/0.1414, allocations: 20.02 kB / 0.8766 GB, free: 14.69 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003993/0.1418, allocations: 248.3 kB / 0.8768 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004172/0.1422, allocations: 426.9 kB / 0.8772 GB, free: 14.03 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004999/0.1472, allocations: 2.148 MB / 0.8793 GB, free: 11.87 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02682/0.174, allocations: 28.16 MB / 0.9068 GB, free: 14.95 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/0.1766, allocations: 1.424 MB / 0.9082 GB, free: 13.52 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/0.1779, allocations: 0.9357 MB / 0.9091 GB, free: 12.58 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.178, allocations: 38 kB / 0.9092 GB, free: 12.54 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.641e-05/0.178, allocations: 59.39 kB / 0.9092 GB, free: 12.48 MB / 0.823 GB Notification: Performance of pre-optimization done (n=209): time 5.831e-06/0.178, allocations: 0 / 0.9092 GB, free: 12.48 MB / 0.823 GB Notification: Performance of matching and sorting (n=212): time 0.01382/0.1919, allocations: 6.43 MB / 0.9155 GB, free: 6.027 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.1919, allocations: 77.41 kB / 0.9156 GB, free: 5.938 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/0.1937, allocations: 1.688 MB / 0.9172 GB, free: 4.215 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.1938, allocations: 69.7 kB / 0.9173 GB, free: 4.141 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001415/0.1952, allocations: 2.525 MB / 0.9198 GB, free: 1.59 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005502/0.1957, allocations: 0.7865 MB / 0.9205 GB, free: 0.7969 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00089/0.1966, allocations: 488 kB / 0.921 GB, free: 320 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1968, allocations: 480.7 kB / 0.9214 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007517/0.1975, allocations: 469 kB / 0.9219 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.1988, allocations: 1.501 MB / 0.9234 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002199/0.201, allocations: 2.147 MB / 0.9255 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/0.201, allocations: 4 kB / 0.9255 GB, free: 10.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.004615/0.2057, allocations: 2.871 MB / 0.9283 GB, free: 7.973 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.041e-05/0.2057, allocations: 12 kB / 0.9283 GB, free: 7.961 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.81e-05/0.2057, allocations: 24 kB / 0.9283 GB, free: 7.938 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002595/0.2083, allocations: 1.217 MB / 0.9295 GB, free: 6.711 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009719/0.2093, allocations: 455.3 kB / 0.9299 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/0.2211, allocations: 12.4 MB / 0.942 GB, free: 9.383 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.2227, allocations: 147.9 kB / 0.9422 GB, free: 9.238 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/0.2228, allocations: 108 kB / 0.9423 GB, free: 9.133 MB / 0.8542 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001312/0.2241, allocations: 323.8 kB / 0.9426 GB, free: 8.805 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004211/0.2246, allocations: 346.3 kB / 0.9429 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003202/0.2278, allocations: 2.253 MB / 0.9451 GB, free: 6.18 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.2278, allocations: 20.05 kB / 0.9451 GB, free: 6.16 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.742e-05/0.2278, allocations: 23.98 kB / 0.9452 GB, free: 6.137 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.2278, allocations: 7.969 kB / 0.9452 GB, free: 6.129 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01147/0.2393, allocations: 6.178 MB / 0.9512 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.772e-05/0.2393, allocations: 8.625 kB / 0.9512 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009991/0.2403, allocations: 231.7 kB / 0.9514 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003936/0.2442, allocations: 1.073 MB / 0.9525 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002314/0.2445, allocations: 36 kB / 0.9525 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0136/0.2581, allocations: 12.34 MB / 0.9646 GB, free: 1.613 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.2581, allocations: 11.94 kB / 0.9646 GB, free: 1.602 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004408/0.2625, allocations: 2.537 MB / 0.9671 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/0.2637, allocations: 0.5137 MB / 0.9676 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/0.2639, allocations: 40 kB / 0.9676 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006978/0.2646, allocations: 115.9 kB / 0.9677 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004629/0.2651, allocations: 193.3 kB / 0.9679 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.2652, allocations: 59.98 kB / 0.9679 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001043/0.2662, allocations: 0.9574 MB / 0.9689 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2662, allocations: 0 / 0.9689 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002872/0.2691, allocations: 1.141 MB / 0.97 GB, free: 11.92 MB / 0.8855 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002784/0.2693, allocations: 167 kB / 0.9702 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004473/0.2738, allocations: 3.127 MB / 0.9732 GB, free: 8.543 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.2738, allocations: 0 / 0.9732 GB, free: 8.543 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002508/0.2763, allocations: 2.293 MB / 0.9754 GB, free: 6.18 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/0.2787, allocations: 0.8196 MB / 0.9762 GB, free: 5.375 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01371/0.2925, allocations: 8.422 MB / 0.9845 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001541/0.294, allocations: 1.4 MB / 0.9858 GB, free: 11.37 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.00151/0.2955, allocations: 463.1 kB / 0.9863 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003341/0.2958, allocations: 140.5 kB / 0.9864 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of SimCode: time 3.216e-06/0.2958, allocations: 0 / 0.9864 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of Templates: time 0.4553/0.7511, allocations: 52.56 MB / 1.038 GB, free: 210.4 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.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: 7.208679408300668]