Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.000925/0.000925, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009758/0.0009758, allocations: 177.3 kB / 23.36 MB, free: 1.133 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.9805/0.9805, allocations: 177.1 MB / 203.8 MB, free: 5.504 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.324/2.324, allocations: 438.8 MB / 0.6827 GB, free: 13.63 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.523e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01722/0.01725, allocations: 13.68 MB / 0.852 GB, free: 496 kB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.007905/0.02515, allocations: 4.231 MB / 0.8561 GB, free: 12.24 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001785/0.02694, allocations: 131 kB / 0.8562 GB, free: 12.11 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.02823, allocations: 0.5779 MB / 0.8568 GB, free: 11.53 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.002694/0.03092, allocations: 1.721 MB / 0.8585 GB, free: 9.797 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002235/0.03316, allocations: 1.228 MB / 0.8597 GB, free: 8.566 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.006535/0.03969, allocations: 6.903 MB / 0.8664 GB, free: 1.648 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004987/0.04468, allocations: 3.907 MB / 0.8702 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005433/0.05011, allocations: 4.007 MB / 0.8741 GB, free: 9.602 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004098/0.05421, allocations: 3.398 MB / 0.8775 GB, free: 6.195 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.001288/0.0555, allocations: 0.5312 MB / 0.878 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002535/0.05803, allocations: 0.6715 MB / 0.8786 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.003116/0.06115, allocations: 2.686 MB / 0.8813 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.002571/0.06372, allocations: 1.766 MB / 0.883 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.00453/0.06825, allocations: 4.593 MB / 0.8875 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.06826, allocations: 0 / 0.8875 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.984e-06/0.06826, allocations: 0 / 0.8875 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001061/0.06837, allocations: 0 / 0.8875 GB, free: 11.93 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.004683/0.07305, allocations: 4.165 MB / 0.8915 GB, free: 7.711 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.07309, allocations: 8.625 kB / 0.8915 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003696/0.07679, allocations: 1.421 MB / 0.8929 GB, free: 6.281 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002733/0.07952, allocations: 2.024 MB / 0.8949 GB, free: 4.207 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.07966, allocations: 271.7 kB / 0.8952 GB, free: 3.941 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004355/0.0801, allocations: 368.2 kB / 0.8955 GB, free: 3.582 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004277/0.08437, allocations: 3.706 MB / 0.8991 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-05/0.08443, allocations: 16.06 kB / 0.8991 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000277/0.08471, allocations: 160.3 kB / 0.8993 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003765/0.08509, allocations: 495.3 kB / 0.8998 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.08702, allocations: 1.386 MB / 0.9011 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01421/0.1012, allocations: 15.21 MB / 0.916 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007647/0.102, allocations: 0.6456 MB / 0.9166 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007224/0.1027, allocations: 0.6286 MB / 0.9172 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.1028, allocations: 21.31 kB / 0.9172 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.1029, allocations: 51.81 kB / 0.9173 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=146): time 3.777e-06/0.1029, allocations: 0 / 0.9173 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of matching and sorting (n=149): time 0.02059/0.1235, allocations: 9.614 MB / 0.9267 GB, free: 2.824 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.1235, allocations: 68.72 kB / 0.9268 GB, free: 2.742 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.1246, allocations: 1.259 MB / 0.928 GB, free: 1.484 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.1247, allocations: 49.7 kB / 0.928 GB, free: 1.43 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009277/0.1257, allocations: 1.558 MB / 0.9295 GB, free: 15.85 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003703/0.126, allocations: 0.5421 MB / 0.9301 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003651/0.1264, allocations: 307.2 kB / 0.9304 GB, free: 15 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.396e-05/0.1265, allocations: 301.1 kB / 0.9307 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004483/0.1269, allocations: 294.7 kB / 0.9309 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006431/0.1276, allocations: 0.8306 MB / 0.9318 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.1288, allocations: 1.314 MB / 0.933 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/0.1288, allocations: 7.75 kB / 0.933 GB, free: 11.78 MB / 0.9011 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.006359/0.1352, allocations: 3.479 MB / 0.9364 GB, free: 8.273 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.1352, allocations: 12 kB / 0.9365 GB, free: 8.262 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/0.1352, allocations: 20 kB / 0.9365 GB, free: 8.242 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006881/0.1421, allocations: 2.764 MB / 0.9392 GB, free: 5.469 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005717/0.1427, allocations: 251.6 kB / 0.9394 GB, free: 5.223 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01337/0.156, allocations: 9.691 MB / 0.9489 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.1571, allocations: 59.94 kB / 0.9489 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/0.1573, allocations: 59.98 kB / 0.949 GB, free: 11.11 MB / 0.9167 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 (142): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(19,19,59.8%), (12,18,50.0%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009445/0.1582, allocations: 220.2 kB / 0.9492 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002804/0.1585, allocations: 175.8 kB / 0.9494 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006561/0.1651, allocations: 3.407 MB / 0.9527 GB, free: 7.273 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.1651, allocations: 20 kB / 0.9527 GB, free: 7.254 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.491e-05/0.1651, allocations: 20 kB / 0.9527 GB, free: 7.234 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/0.1651, allocations: 15.91 kB / 0.9527 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009747/0.1749, allocations: 4.984 MB / 0.9576 GB, free: 2.133 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.1749, allocations: 4 kB / 0.9576 GB, free: 2.129 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/0.1752, allocations: 123.7 kB / 0.9577 GB, free: 2.008 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006874/0.1821, allocations: 2.71 MB / 0.9604 GB, free: 15.29 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001571/0.1823, allocations: 24 kB / 0.9604 GB, free: 15.26 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01368/0.196, allocations: 9.686 MB / 0.9699 GB, free: 5.273 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.196, allocations: 11.88 kB / 0.9699 GB, free: 5.262 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006443/0.2024, allocations: 3.365 MB / 0.9732 GB, free: 1.812 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007389/0.2031, allocations: 362.4 kB / 0.9735 GB, free: 1.457 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/0.2033, allocations: 39.98 kB / 0.9735 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000512/0.2039, allocations: 27.98 kB / 0.9736 GB, free: 1.391 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004726/0.2043, allocations: 148.7 kB / 0.9737 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.552e-05/0.2044, allocations: 28 kB / 0.9737 GB, free: 1.219 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0005501/0.205, allocations: 0.6247 MB / 0.9743 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.8e-07/0.205, allocations: 0 / 0.9743 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002238/0.2072, allocations: 1.086 MB / 0.9754 GB, free: 15.51 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(12,10,52.8%), (12,18,50.0%), (19,19,57.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002351/0.2074, allocations: 124.2 kB / 0.9755 GB, free: 15.38 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004804/0.2122, allocations: 2.937 MB / 0.9784 GB, free: 12.41 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.375e-05/0.2123, allocations: 25.81 kB / 0.9784 GB, free: 12.38 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003607/0.2159, allocations: 2.373 MB / 0.9807 GB, free: 9.965 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.2173, allocations: 0.4966 MB / 0.9812 GB, free: 9.48 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009369/0.2267, allocations: 6.418 MB / 0.9875 GB, free: 2.98 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.2277, allocations: 1.088 MB / 0.9886 GB, free: 1.871 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000608/0.2283, allocations: 191.4 kB / 0.9887 GB, free: 1.68 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006279/0.2289, allocations: 391.1 kB / 0.9891 GB, free: 1.289 MB / 0.948 GB Notification: Performance of SimCode: time 3.356e-06/0.2289, allocations: 0 / 0.9891 GB, free: 1.289 MB / 0.948 GB Notification: Performance of Templates: time 0.06796/0.2969, allocations: 58.6 MB / 1.046 GB, free: 7.207 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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: 6.459171222988516]