Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001149/0.001149, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001591/0.001591, allocations: 177 kB / 23.36 MB, free: 1.129 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.9697/0.9697, allocations: 177.1 MB / 203.8 MB, free: 5.445 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.453/2.453, allocations: 438.8 MB / 0.6827 GB, free: 13.54 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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_L,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_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.594e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.004732/0.004748, allocations: 4.188 MB / 0.8427 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002216/0.006964, allocations: 1.598 MB / 0.8443 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002157/0.007179, allocations: 51.56 kB / 0.8443 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004815/0.007661, allocations: 186.6 kB / 0.8445 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0005103/0.008171, allocations: 409.4 kB / 0.8449 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004783/0.00865, allocations: 375.3 kB / 0.8453 GB, free: 7.285 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0008068/0.009456, allocations: 1.147 MB / 0.8464 GB, free: 6.137 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005492/0.01001, allocations: 0.5469 MB / 0.8469 GB, free: 5.59 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000696/0.0107, allocations: 0.6235 MB / 0.8475 GB, free: 4.965 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005332/0.01123, allocations: 426.8 kB / 0.8479 GB, free: 4.547 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.42e-05/0.0113, allocations: 56 kB / 0.848 GB, free: 4.492 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.0115, allocations: 135.8 kB / 0.8481 GB, free: 4.359 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.0117, allocations: 311.1 kB / 0.8484 GB, free: 4.055 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.01188, allocations: 267.3 kB / 0.8487 GB, free: 3.793 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005293/0.01241, allocations: 0.6656 MB / 0.8493 GB, free: 3.125 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.01241, allocations: 4 kB / 0.8493 GB, free: 3.121 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.11e-07/0.01241, allocations: 0 / 0.8493 GB, free: 3.121 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.01242, allocations: 0 / 0.8493 GB, free: 3.121 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0008258/0.01324, allocations: 0.923 MB / 0.8502 GB, free: 2.168 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.01327, allocations: 12.62 kB / 0.8502 GB, free: 2.156 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007731/0.01405, allocations: 264.2 kB / 0.8505 GB, free: 1.898 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005419/0.01459, allocations: 0.5145 MB / 0.851 GB, free: 1.355 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.01462, allocations: 53.67 kB / 0.851 GB, free: 1.305 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.866e-05/0.01469, allocations: 64.36 kB / 0.8511 GB, free: 1.242 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006006/0.01529, allocations: 0.7778 MB / 0.8519 GB, free: 332 kB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.01531, allocations: 16.06 kB / 0.8519 GB, free: 316 kB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.816e-05/0.01535, allocations: 28.36 kB / 0.8519 GB, free: 288 kB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.125e-05/0.01541, allocations: 69.22 kB / 0.852 GB, free: 216 kB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.01569, allocations: 252.7 kB / 0.8522 GB, free: 15.96 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002267/0.01796, allocations: 3.865 MB / 0.856 GB, free: 11.95 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003294/0.01829, allocations: 245.2 kB / 0.8562 GB, free: 11.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.0186, allocations: 224.7 kB / 0.8564 GB, free: 11.48 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.01862, allocations: 11.98 kB / 0.8564 GB, free: 11.47 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.01865, allocations: 42.5 kB / 0.8565 GB, free: 11.42 MB / 0.823 GB Notification: Performance of pre-optimization done (n=41): time 1.723e-06/0.01865, allocations: 0 / 0.8565 GB, free: 11.42 MB / 0.823 GB Notification: Performance of matching and sorting (n=42): time 0.001635/0.02028, allocations: 0.8743 MB / 0.8573 GB, free: 10.52 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.02031, allocations: 55.41 kB / 0.8574 GB, free: 10.45 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.02056, allocations: 415 kB / 0.8578 GB, free: 10.04 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.02059, allocations: 33.7 kB / 0.8578 GB, free: 9.996 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.02075, allocations: 364.9 kB / 0.8582 GB, free: 9.637 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.86e-05/0.02083, allocations: 154.7 kB / 0.8583 GB, free: 9.484 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.02093, allocations: 102.2 kB / 0.8584 GB, free: 9.375 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.871e-05/0.02103, allocations: 370.6 kB / 0.8588 GB, free: 9.004 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.662e-05/0.02111, allocations: 65.28 kB / 0.8588 GB, free: 8.941 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.0213, allocations: 284.9 kB / 0.8591 GB, free: 8.57 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000331/0.02164, allocations: 413.6 kB / 0.8595 GB, free: 8.07 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.02164, allocations: 4 kB / 0.8595 GB, free: 8.066 MB / 0.823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006971/0.02234, allocations: 0.5584 MB / 0.86 GB, free: 7.484 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.02235, allocations: 8 kB / 0.86 GB, free: 7.477 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.02236, allocations: 11.98 kB / 0.8601 GB, free: 7.465 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005275/0.02289, allocations: 242.5 kB / 0.8603 GB, free: 7.211 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.02306, allocations: 91.83 kB / 0.8604 GB, free: 7.121 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003079/0.02614, allocations: 5.438 MB / 0.8657 GB, free: 1.297 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.02629, allocations: 16 kB / 0.8657 GB, free: 1.281 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.02632, allocations: 24 kB / 0.8657 GB, free: 1.258 MB / 0.823 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.02644, allocations: 148.5 kB / 0.8659 GB, free: 1.102 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/0.02649, allocations: 43.95 kB / 0.8659 GB, free: 1.059 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005734/0.02707, allocations: 473.2 kB / 0.8664 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.02707, allocations: 4 kB / 0.8664 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.02707, allocations: 7.938 kB / 0.8664 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.02708, allocations: 0 / 0.8664 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009559/0.02803, allocations: 0.8916 MB / 0.8672 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.02803, allocations: 4.188 kB / 0.8672 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.669e-05/0.02811, allocations: 31.98 kB / 0.8673 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004594/0.02857, allocations: 234.5 kB / 0.8675 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.02859, allocations: 8 kB / 0.8675 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003003/0.03159, allocations: 5.411 MB / 0.8728 GB, free: 9.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.0316, allocations: 4 kB / 0.8728 GB, free: 9.516 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007224/0.03232, allocations: 0.5946 MB / 0.8734 GB, free: 8.867 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.556e-05/0.03241, allocations: 87.52 kB / 0.8735 GB, free: 8.781 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.03245, allocations: 11.94 kB / 0.8735 GB, free: 8.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.03256, allocations: 8 kB / 0.8735 GB, free: 8.762 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.011e-05/0.03264, allocations: 39.92 kB / 0.8735 GB, free: 8.723 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.03266, allocations: 12 kB / 0.8735 GB, free: 8.711 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001075/0.03276, allocations: 172.3 kB / 0.8737 GB, free: 8.543 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.01e-07/0.03276, allocations: 0 / 0.8737 GB, free: 8.543 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004333/0.0332, allocations: 196 kB / 0.8739 GB, free: 8.352 MB / 0.8386 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.299e-05/0.03329, allocations: 96.36 kB / 0.874 GB, free: 8.25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007395/0.03403, allocations: 0.8557 MB / 0.8748 GB, free: 7.344 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.03404, allocations: 4.625 kB / 0.8748 GB, free: 7.34 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004928/0.03453, allocations: 0.7035 MB / 0.8755 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004776/0.03501, allocations: 211.6 kB / 0.8757 GB, free: 6.383 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.03654, allocations: 1.159 MB / 0.8768 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.03669, allocations: 206.1 kB / 0.877 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001451/0.03683, allocations: 61.05 kB / 0.8771 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.03705, allocations: 165.3 kB / 0.8772 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of SimCode: time 7.81e-07/0.03705, allocations: 0 / 0.8772 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of Templates: time 0.01292/0.04998, allocations: 11.1 MB / 0.8881 GB, free: 9.812 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.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: 5.442293568048626]