Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001032/0.001032, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001188/0.001188, allocations: 170 kB / 24.86 MB, free: 8.836 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.9336/0.9336, allocations: 177.2 MB / 205.3 MB, free: 5.457 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.768/1.768, allocations: 359 MB / 0.6063 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_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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.7883 GB, free: 11.09 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.327e-05, allocations: 5.203 kB / 0.7883 GB, free: 11.09 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01449/0.01451, allocations: 13.68 MB / 0.8017 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.006828/0.02134, allocations: 4.122 MB / 0.8057 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/0.02323, allocations: 127.6 kB / 0.8058 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.02451, allocations: 0.5794 MB / 0.8064 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.002375/0.02689, allocations: 1.72 MB / 0.8081 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002375/0.02926, allocations: 1.216 MB / 0.8093 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00673/0.03599, allocations: 6.915 MB / 0.816 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004819/0.04081, allocations: 3.622 MB / 0.8196 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0063/0.04711, allocations: 4.001 MB / 0.8235 GB, free: 6.957 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003952/0.05106, allocations: 3.574 MB / 0.827 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.000616/0.05168, allocations: 0.5234 MB / 0.8275 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.0529, allocations: 0.6754 MB / 0.8281 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.002915/0.05582, allocations: 2.687 MB / 0.8308 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.003073/0.05889, allocations: 1.766 MB / 0.8325 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.003913/0.0628, allocations: 4.597 MB / 0.837 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.06281, allocations: 4 kB / 0.837 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.142e-06/0.06281, allocations: 0 / 0.837 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.095e-05/0.06287, allocations: 0 / 0.837 GB, free: 9.113 MB / 0.7448 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.004135/0.067, allocations: 4.64 MB / 0.8415 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.06704, allocations: 8.031 kB / 0.8415 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003681/0.07072, allocations: 1.535 MB / 0.843 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002395/0.07312, allocations: 2.241 MB / 0.8452 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.07325, allocations: 275.7 kB / 0.8455 GB, free: 312 kB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004053/0.07365, allocations: 372.3 kB / 0.8458 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00403/0.07768, allocations: 3.815 MB / 0.8495 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.937e-05/0.07774, allocations: 12.06 kB / 0.8496 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002594/0.078, allocations: 156.3 kB / 0.8497 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003581/0.07836, allocations: 491.3 kB / 0.8502 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/0.08019, allocations: 1.265 MB / 0.8514 GB, free: 9.809 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01488/0.09507, allocations: 19.88 MB / 0.8708 GB, free: 5.383 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008254/0.09589, allocations: 0.6611 MB / 0.8715 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008283/0.09672, allocations: 0.7132 MB / 0.8722 GB, free: 3.992 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.09683, allocations: 33.23 kB / 0.8722 GB, free: 3.961 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.09686, allocations: 54.64 kB / 0.8722 GB, free: 3.898 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=146): time 4.468e-06/0.09686, allocations: 0 / 0.8722 GB, free: 3.898 MB / 0.7761 GB Notification: Performance of matching and sorting (n=251): time 0.02988/0.1267, allocations: 13.89 MB / 0.8858 GB, free: 5.965 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.1268, allocations: 77.41 kB / 0.8859 GB, free: 5.875 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.1279, allocations: 1.405 MB / 0.8873 GB, free: 4.461 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002728/0.1282, allocations: 69.7 kB / 0.8873 GB, free: 4.387 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007978/0.129, allocations: 1.9 MB / 0.8892 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006884/0.1297, allocations: 0.914 MB / 0.8901 GB, free: 1.543 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006398/0.1303, allocations: 455.7 kB / 0.8905 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.485e-05/0.1304, allocations: 484.7 kB / 0.891 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007685/0.1312, allocations: 0.5516 MB / 0.8915 GB, free: 60 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.1323, allocations: 1.4 MB / 0.8929 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002144/0.1345, allocations: 2.178 MB / 0.895 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/0.1345, allocations: 11.94 kB / 0.895 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01304/0.1475, allocations: 6.908 MB / 0.9018 GB, free: 4.852 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.1475, allocations: 16 kB / 0.9018 GB, free: 4.836 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/0.1476, allocations: 16 kB / 0.9018 GB, free: 4.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01439/0.162, allocations: 5.652 MB / 0.9073 GB, free: 15.14 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007757/0.1627, allocations: 283.5 kB / 0.9076 GB, free: 14.86 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02814/0.1909, allocations: 23.97 MB / 0.931 GB, free: 6.191 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/0.1926, allocations: 75.98 kB / 0.9311 GB, free: 6.117 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/0.1928, allocations: 76 kB / 0.9311 GB, free: 6.043 MB / 0.8386 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001058/0.1938, allocations: 304 kB / 0.9314 GB, free: 5.734 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004503/0.1943, allocations: 326.5 kB / 0.9317 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/0.2069, allocations: 6.985 MB / 0.9386 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/0.2069, allocations: 24 kB / 0.9386 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001099/0.207, allocations: 44 kB / 0.9386 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.001e-05/0.2071, allocations: 11.95 kB / 0.9386 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01712/0.2242, allocations: 9.664 MB / 0.9481 GB, free: 4.434 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/0.2242, allocations: 12.03 kB / 0.9481 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004167/0.2246, allocations: 135.8 kB / 0.9482 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01408/0.2387, allocations: 5.47 MB / 0.9535 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002999/0.239, allocations: 48 kB / 0.9536 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02785/0.2668, allocations: 23.88 MB / 0.9769 GB, free: 6.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.2668, allocations: 15.94 kB / 0.9769 GB, free: 6.145 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/0.2791, allocations: 6.919 MB / 0.9837 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/0.2803, allocations: 0.5879 MB / 0.9843 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002589/0.2805, allocations: 55.89 kB / 0.9843 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008658/0.2814, allocations: 44 kB / 0.9844 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001053/0.2825, allocations: 253.3 kB / 0.9846 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000125/0.2826, allocations: 48 kB / 0.9846 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000591/0.2832, allocations: 0.763 MB / 0.9854 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.2832, allocations: 4 kB / 0.9854 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003448/0.2866, allocations: 1.617 MB / 0.987 GB, free: 11.69 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000289/0.2869, allocations: 159 kB / 0.9871 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.009066/0.296, allocations: 6.079 MB / 0.9931 GB, free: 5.34 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.296, allocations: 0 / 0.9931 GB, free: 5.34 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.00747/0.3035, allocations: 5.03 MB / 0.998 GB, free: 208 kB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/0.3052, allocations: 0.5331 MB / 0.9985 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009179/0.3144, allocations: 7.44 MB / 1.006 GB, free: 8.094 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/0.3156, allocations: 1.301 MB / 1.007 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005292/0.3161, allocations: 199.1 kB / 1.007 GB, free: 6.566 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005869/0.3167, allocations: 461.9 kB / 1.008 GB, free: 6.113 MB / 0.9167 GB Notification: Performance of SimCode: time 1.893e-06/0.3167, allocations: 0 / 1.008 GB, free: 6.113 MB / 0.9167 GB Notification: Performance of Templates: time 0.4476/0.7643, allocations: 104 MB / 1.109 GB, free: 163.2 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.746122627984732]