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.0009458/0.0009458, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009592/0.0009592, allocations: 169.3 kB / 24.28 MB, free: 280 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.9429/0.9429, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.733/1.733, allocations: 359 MB / 0.6055 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.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.422e-06/1.422e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.603e-05/1.745e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01694/0.01696, allocations: 22.7 MB / 0.8093 GB, free: 6.027 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.007638/0.02459, allocations: 6.337 MB / 0.8155 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008044/0.0254, allocations: 127 kB / 0.8156 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.00195/0.02735, allocations: 1.596 MB / 0.8171 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.02943, allocations: 1.769 MB / 0.8189 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.03109, allocations: 1.368 MB / 0.8202 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.003607/0.0347, allocations: 6.036 MB / 0.8261 GB, free: 4.789 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00281/0.03751, allocations: 3.218 MB / 0.8292 GB, free: 1.484 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002873/0.04038, allocations: 3.463 MB / 0.8326 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002226/0.0426, allocations: 2.884 MB / 0.8354 GB, free: 11.12 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0003624/0.04297, allocations: 456 kB / 0.8359 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.04415, allocations: 1.057 MB / 0.8369 GB, free: 9.621 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.00123/0.04538, allocations: 2.218 MB / 0.8391 GB, free: 7.398 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001115/0.0465, allocations: 1.516 MB / 0.8406 GB, free: 5.879 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002767/0.04926, allocations: 4.172 MB / 0.8446 GB, free: 1.695 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.04927, allocations: 0 / 0.8446 GB, free: 1.695 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.102e-06/0.04927, allocations: 0 / 0.8446 GB, free: 1.695 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.746e-05/0.0493, allocations: 0 / 0.8446 GB, free: 1.695 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.00362/0.05292, allocations: 4.076 MB / 0.8486 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.05295, allocations: 12.03 kB / 0.8486 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003752/0.05671, allocations: 1.66 MB / 0.8502 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002189/0.0589, allocations: 2.231 MB / 0.8524 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.05901, allocations: 246.3 kB / 0.8527 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003244/0.05933, allocations: 315.9 kB / 0.853 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003858/0.06319, allocations: 3.59 MB / 0.8565 GB, free: 5.07 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.405e-05/0.06325, allocations: 15.83 kB / 0.8565 GB, free: 5.055 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002332/0.06348, allocations: 143.9 kB / 0.8566 GB, free: 4.914 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003141/0.06379, allocations: 414.2 kB / 0.857 GB, free: 4.508 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002345/0.06614, allocations: 1.361 MB / 0.8583 GB, free: 3.137 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01296/0.0791, allocations: 19.96 MB / 0.8778 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007057/0.07981, allocations: 491 kB / 0.8783 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006609/0.08047, allocations: 0.5293 MB / 0.8788 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.116e-05/0.08054, allocations: 17 kB / 0.8788 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.08057, allocations: 50.38 kB / 0.8789 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=110): time 3.787e-06/0.08057, allocations: 0 / 0.8789 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=179): time 0.01756/0.09813, allocations: 9.532 MB / 0.8882 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.09817, allocations: 69.41 kB / 0.8883 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.09925, allocations: 1.246 MB / 0.8895 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.09936, allocations: 57.7 kB / 0.8895 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006921/0.1001, allocations: 1.648 MB / 0.8911 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003823/0.1004, allocations: 0.6508 MB / 0.8918 GB, free: 204 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004455/0.1009, allocations: 361.2 kB / 0.8921 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.038e-05/0.101, allocations: 480.8 kB / 0.8926 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008073/0.1018, allocations: 0.492 MB / 0.8931 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.1029, allocations: 1.297 MB / 0.8943 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002162/0.1051, allocations: 1.987 MB / 0.8963 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.1051, allocations: 4 kB / 0.8963 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.008034/0.1131, allocations: 4.806 MB / 0.901 GB, free: 6.062 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.1132, allocations: 12 kB / 0.901 GB, free: 6.051 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.1132, allocations: 20.09 kB / 0.901 GB, free: 6.031 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007628/0.1208, allocations: 3.25 MB / 0.9042 GB, free: 2.762 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006139/0.1214, allocations: 299.5 kB / 0.9045 GB, free: 2.469 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01853/0.1399, allocations: 18.42 MB / 0.9224 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009792/0.1409, allocations: 151.8 kB / 0.9226 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.141, allocations: 80 kB / 0.9227 GB, free: 15.09 MB / 0.8855 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.0007406/0.1418, allocations: 276.1 kB / 0.9229 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000284/0.1421, allocations: 262.7 kB / 0.9232 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007952/0.15, allocations: 4.617 MB / 0.9277 GB, free: 9.879 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.15, allocations: 19.94 kB / 0.9277 GB, free: 9.859 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.37e-05/0.15, allocations: 28 kB / 0.9277 GB, free: 9.832 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.1501, allocations: 7.969 kB / 0.9277 GB, free: 9.824 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/0.1612, allocations: 7.635 MB / 0.9352 GB, free: 2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.1612, allocations: 12.78 kB / 0.9352 GB, free: 1.988 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003695/0.1616, allocations: 163.7 kB / 0.9354 GB, free: 1.828 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007284/0.1689, allocations: 3.149 MB / 0.9384 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.56e-05/0.169, allocations: 36 kB / 0.9385 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01776/0.1867, allocations: 18.35 MB / 0.9564 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.381e-06/0.1867, allocations: 11.94 kB / 0.9564 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008009/0.1947, allocations: 4.712 MB / 0.961 GB, free: 6.641 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007653/0.1955, allocations: 0.5062 MB / 0.9615 GB, free: 6.133 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.1957, allocations: 40 kB / 0.9615 GB, free: 6.094 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006717/0.1964, allocations: 131.8 kB / 0.9617 GB, free: 5.965 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005751/0.1969, allocations: 176.9 kB / 0.9618 GB, free: 5.793 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-05/0.197, allocations: 52 kB / 0.9619 GB, free: 5.742 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0006305/0.1976, allocations: 0.718 MB / 0.9626 GB, free: 5.023 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1976, allocations: 0 / 0.9626 GB, free: 5.023 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002321/0.2, allocations: 1.117 MB / 0.9637 GB, free: 3.906 MB / 0.9167 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.0002189/0.2002, allocations: 143.1 kB / 0.9638 GB, free: 3.758 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005614/0.2058, allocations: 4.244 MB / 0.968 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2058, allocations: 0 / 0.968 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.004026/0.2098, allocations: 3.387 MB / 0.9713 GB, free: 11.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.2112, allocations: 0.5182 MB / 0.9718 GB, free: 11.39 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006926/0.2181, allocations: 5.959 MB / 0.9776 GB, free: 5.27 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008577/0.219, allocations: 1.007 MB / 0.9786 GB, free: 4.234 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005554/0.2195, allocations: 315.6 kB / 0.9789 GB, free: 3.922 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.2197, allocations: 88.5 kB / 0.979 GB, free: 3.836 MB / 0.9323 GB Notification: Performance of SimCode: time 1.473e-06/0.2197, allocations: 8 kB / 0.979 GB, free: 3.828 MB / 0.9323 GB Notification: Performance of Templates: time 0.06281/0.2825, allocations: 65.41 MB / 1.043 GB, free: 2.93 MB / 0.9948 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: 6.1722995799500495]