Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.0008875/0.0008875, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.0009123/0.0009123, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.8725/0.8725, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.672/1.672, allocations: 359 MB / 0.6055 GB, free: 10.89 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 3.938 kB / 0.7876 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.1e-05, allocations: 4.984 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.009322/0.009343, allocations: 13.01 MB / 0.8003 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.005887/0.01523, allocations: 3.853 MB / 0.804 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001401/0.01663, allocations: 128.3 kB / 0.8042 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.01776, allocations: 0.5391 MB / 0.8047 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002151/0.01992, allocations: 1.517 MB / 0.8062 GB, free: 9.113 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.02157, allocations: 1.095 MB / 0.8072 GB, free: 8.02 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.004781/0.02635, allocations: 5.95 MB / 0.8131 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003241/0.02959, allocations: 3.167 MB / 0.8161 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004395/0.03399, allocations: 3.428 MB / 0.8195 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002799/0.03679, allocations: 2.925 MB / 0.8224 GB, free: 8.445 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0005053/0.03729, allocations: 453.3 kB / 0.8228 GB, free: 8.004 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008901/0.03818, allocations: 0.5972 MB / 0.8234 GB, free: 7.406 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001588/0.03977, allocations: 2.214 MB / 0.8255 GB, free: 5.188 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001187/0.04096, allocations: 1.497 MB / 0.827 GB, free: 3.688 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002719/0.04367, allocations: 3.881 MB / 0.8308 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.04368, allocations: 0 / 0.8308 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.763e-06/0.04368, allocations: 4 kB / 0.8308 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.38e-05/0.04373, allocations: 1.094 kB / 0.8308 GB, free: 15.79 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.003691/0.04743, allocations: 4.004 MB / 0.8347 GB, free: 11.73 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.04746, allocations: 12.03 kB / 0.8347 GB, free: 11.72 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002484/0.04995, allocations: 1.196 MB / 0.8359 GB, free: 10.52 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.05187, allocations: 1.993 MB / 0.8378 GB, free: 8.48 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.05198, allocations: 246.3 kB / 0.8381 GB, free: 8.238 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003081/0.05229, allocations: 312 kB / 0.8384 GB, free: 7.934 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003296/0.05558, allocations: 3.347 MB / 0.8416 GB, free: 4.191 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.273e-05/0.05564, allocations: 27.81 kB / 0.8416 GB, free: 4.164 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001957/0.05583, allocations: 136 kB / 0.8418 GB, free: 4.031 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002827/0.05611, allocations: 402.3 kB / 0.8422 GB, free: 3.637 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.05756, allocations: 1.086 MB / 0.8432 GB, free: 2.539 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01353/0.07109, allocations: 18.76 MB / 0.8615 GB, free: 15.19 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005125/0.0716, allocations: 391.6 kB / 0.8619 GB, free: 14.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004515/0.07205, allocations: 462.2 kB / 0.8624 GB, free: 14.34 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.888e-05/0.07212, allocations: 21 kB / 0.8624 GB, free: 14.32 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.07215, allocations: 50.33 kB / 0.8624 GB, free: 14.26 MB / 0.823 GB Notification: Performance of pre-optimization done (n=110): time 2.785e-06/0.07215, allocations: 0 / 0.8624 GB, free: 14.26 MB / 0.823 GB Notification: Performance of matching and sorting (n=179): time 0.01463/0.08678, allocations: 7.93 MB / 0.8702 GB, free: 6.316 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.08682, allocations: 69.41 kB / 0.8702 GB, free: 6.238 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008749/0.08769, allocations: 1.218 MB / 0.8714 GB, free: 4.996 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.08779, allocations: 53.7 kB / 0.8715 GB, free: 4.938 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007062/0.0885, allocations: 1.671 MB / 0.8731 GB, free: 3.25 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003747/0.08887, allocations: 0.6507 MB / 0.8737 GB, free: 2.594 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004124/0.08928, allocations: 373 kB / 0.8741 GB, free: 2.219 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003554/0.08964, allocations: 484.8 kB / 0.8746 GB, free: 1.742 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004728/0.09011, allocations: 387.8 kB / 0.8749 GB, free: 1.359 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008087/0.09092, allocations: 1.18 MB / 0.8761 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.09235, allocations: 1.768 MB / 0.8778 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.09236, allocations: 8 kB / 0.8778 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.006576/0.09894, allocations: 4.065 MB / 0.8818 GB, free: 9.625 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.09896, allocations: 12 kB / 0.8818 GB, free: 9.613 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/0.09898, allocations: 16 kB / 0.8818 GB, free: 9.598 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006404/0.1054, allocations: 2.792 MB / 0.8845 GB, free: 6.789 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006004/0.106, allocations: 275.5 kB / 0.8848 GB, free: 6.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01613/0.1221, allocations: 17.53 MB / 0.9019 GB, free: 4.309 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.1231, allocations: 52 kB / 0.902 GB, free: 4.258 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.1232, allocations: 68 kB / 0.902 GB, free: 4.191 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007294/0.124, allocations: 276.1 kB / 0.9023 GB, free: 3.91 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002874/0.1242, allocations: 258.7 kB / 0.9025 GB, free: 3.656 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006019/0.1303, allocations: 3.918 MB / 0.9064 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.1303, allocations: 19.94 kB / 0.9064 GB, free: 15.67 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.648e-05/0.1303, allocations: 27.94 kB / 0.9064 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.1303, allocations: 7.969 kB / 0.9064 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009323/0.1396, allocations: 6.078 MB / 0.9124 GB, free: 9.367 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.1397, allocations: 8 kB / 0.9124 GB, free: 9.359 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/0.14, allocations: 131.8 kB / 0.9125 GB, free: 9.23 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006075/0.146, allocations: 2.691 MB / 0.9151 GB, free: 6.523 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.185e-05/0.1461, allocations: 47.88 kB / 0.9152 GB, free: 6.477 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01542/0.1616, allocations: 17.45 MB / 0.9322 GB, free: 4.348 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.1616, allocations: 8 kB / 0.9322 GB, free: 4.34 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006159/0.1677, allocations: 4.029 MB / 0.9361 GB, free: 144 kB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007007/0.1684, allocations: 434.4 kB / 0.9366 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/0.1686, allocations: 36 kB / 0.9366 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005211/0.1691, allocations: 36 kB / 0.9366 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007689/0.1699, allocations: 176.9 kB / 0.9368 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.769e-05/0.1699, allocations: 43.92 kB / 0.9368 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004655/0.1704, allocations: 0.6591 MB / 0.9375 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.1704, allocations: 0 / 0.9375 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002316/0.1727, allocations: 1.121 MB / 0.9386 GB, free: 13.65 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002148/0.1729, allocations: 151 kB / 0.9387 GB, free: 13.49 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004761/0.1777, allocations: 3.874 MB / 0.9425 GB, free: 9.504 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.1777, allocations: 0 / 0.9425 GB, free: 9.504 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004096/0.1818, allocations: 3.125 MB / 0.9456 GB, free: 6.27 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.1832, allocations: 0.5041 MB / 0.9461 GB, free: 5.773 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007511/0.1907, allocations: 5.932 MB / 0.9518 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000923/0.1917, allocations: 1.003 MB / 0.9528 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004556/0.1921, allocations: 199.8 kB / 0.953 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005653/0.1927, allocations: 453.9 kB / 0.9534 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of SimCode: time 1.693e-06/0.1927, allocations: 0 / 0.9534 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of Templates: time 0.07149/0.2642, allocations: 66.89 MB / 1.019 GB, free: 11.6 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.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.465444274712354]