Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.0009409/0.0009409, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001121/0.001121, allocations: 169 kB / 24.06 MB, free: 456 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.9611/0.9611, allocations: 177.1 MB / 204.5 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.087/2.087, allocations: 429.5 MB / 0.6743 GB, free: 3.949 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.8794 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.507e-05/1.662e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.01259/0.01261, allocations: 16.99 MB / 0.896 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.007677/0.02028, allocations: 5.081 MB / 0.901 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.02163, allocations: 194.5 kB / 0.9011 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.02287, allocations: 0.7601 MB / 0.9019 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002302/0.02517, allocations: 1.647 MB / 0.9035 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001973/0.02715, allocations: 1.556 MB / 0.905 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.005247/0.03239, allocations: 7.348 MB / 0.9122 GB, free: 4.375 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004377/0.03677, allocations: 5.081 MB / 0.9172 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003708/0.04048, allocations: 4.565 MB / 0.9216 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003065/0.04354, allocations: 3.543 MB / 0.9251 GB, free: 7.043 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.000541/0.04408, allocations: 0.6445 MB / 0.9257 GB, free: 6.398 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007922/0.04488, allocations: 0.7303 MB / 0.9264 GB, free: 5.668 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.001515/0.04639, allocations: 2.759 MB / 0.9291 GB, free: 2.902 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.001695/0.04809, allocations: 2.031 MB / 0.9311 GB, free: 0.8672 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.003147/0.05123, allocations: 5.033 MB / 0.936 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.05124, allocations: 0 / 0.936 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.81e-07/0.05124, allocations: 0 / 0.936 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.083e-05/0.05128, allocations: 0 / 0.936 GB, free: 11.82 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.004669/0.05595, allocations: 5.169 MB / 0.9411 GB, free: 6.582 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.05598, allocations: 8.031 kB / 0.9411 GB, free: 6.574 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002388/0.05837, allocations: 1.348 MB / 0.9424 GB, free: 5.223 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002652/0.06102, allocations: 2.683 MB / 0.945 GB, free: 2.473 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/0.06118, allocations: 349.7 kB / 0.9453 GB, free: 2.129 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000431/0.06161, allocations: 476.2 kB / 0.9458 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004026/0.06563, allocations: 4.47 MB / 0.9502 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.449e-05/0.06572, allocations: 24.02 kB / 0.9502 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002964/0.06601, allocations: 200.3 kB / 0.9504 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002164/0.06623, allocations: 320.9 kB / 0.9507 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.06821, allocations: 1.396 MB / 0.952 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01471/0.08293, allocations: 23.97 MB / 0.9754 GB, free: 1.977 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008178/0.08374, allocations: 0.6908 MB / 0.9761 GB, free: 1.266 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004434/0.08419, allocations: 450.3 kB / 0.9765 GB, free: 0.8281 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.333e-05/0.08425, allocations: 29.25 kB / 0.9766 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.08428, allocations: 50.7 kB / 0.9766 GB, free: 0.7383 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=133): time 3.006e-06/0.08428, allocations: 0 / 0.9766 GB, free: 0.7383 MB / 0.9323 GB Notification: Performance of matching and sorting (n=136): time 0.004894/0.08917, allocations: 3.019 MB / 0.9796 GB, free: 13.67 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.0892, allocations: 64.72 kB / 0.9796 GB, free: 13.59 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008211/0.09002, allocations: 1.31 MB / 0.9809 GB, free: 12.27 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.806e-05/0.09008, allocations: 45.7 kB / 0.981 GB, free: 12.22 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008794/0.09096, allocations: 2.127 MB / 0.983 GB, free: 10.07 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002698/0.09123, allocations: 0.5191 MB / 0.9835 GB, free: 9.551 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003015/0.09153, allocations: 352.9 kB / 0.9839 GB, free: 9.199 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.09163, allocations: 492.7 kB / 0.9843 GB, free: 8.715 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.09192, allocations: 243.8 kB / 0.9846 GB, free: 8.477 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006822/0.0926, allocations: 1.224 MB / 0.9858 GB, free: 6.832 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.09391, allocations: 1.642 MB / 0.9874 GB, free: 4.766 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.09392, allocations: 11.98 kB / 0.9874 GB, free: 4.754 MB / 0.948 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.002198/0.09612, allocations: 1.975 MB / 0.9893 GB, free: 2.719 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.09614, allocations: 16 kB / 0.9893 GB, free: 2.703 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.09616, allocations: 20 kB / 0.9894 GB, free: 2.684 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/0.0975, allocations: 0.6835 MB / 0.99 GB, free: 1.949 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005781/0.09807, allocations: 319.4 kB / 0.9903 GB, free: 1.637 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/0.109, allocations: 23.37 MB / 1.013 GB, free: 8.902 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005821/0.1096, allocations: 56 kB / 1.013 GB, free: 8.848 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.74e-05/0.1097, allocations: 72 kB / 1.013 GB, free: 8.777 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007092/0.1104, allocations: 281.8 kB / 1.014 GB, free: 8.492 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004461/0.1108, allocations: 242.8 kB / 1.014 GB, free: 8.254 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/0.1126, allocations: 1.489 MB / 1.015 GB, free: 6.691 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.1126, allocations: 12 kB / 1.015 GB, free: 6.68 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.1126, allocations: 12 kB / 1.015 GB, free: 6.668 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.1126, allocations: 7.969 kB / 1.015 GB, free: 6.66 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004285/0.1169, allocations: 3.653 MB / 1.019 GB, free: 2.848 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.1169, allocations: 4 kB / 1.019 GB, free: 2.844 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/0.1173, allocations: 139.8 kB / 1.019 GB, free: 2.707 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001272/0.1186, allocations: 0.6407 MB / 1.02 GB, free: 2.016 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-05/0.1186, allocations: 24 kB / 1.02 GB, free: 1.992 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009999/0.1286, allocations: 22.3 MB / 1.041 GB, free: 10.31 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.1286, allocations: 15.94 kB / 1.041 GB, free: 10.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/0.1307, allocations: 1.717 MB / 1.043 GB, free: 8.426 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003771/0.1311, allocations: 338.5 kB / 1.043 GB, free: 8.094 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.1312, allocations: 28 kB / 1.043 GB, free: 8.066 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003452/0.1315, allocations: 31.94 kB / 1.043 GB, free: 8.035 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.1317, allocations: 128.6 kB / 1.044 GB, free: 7.91 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.967e-05/0.1318, allocations: 32 kB / 1.044 GB, free: 7.879 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004427/0.1322, allocations: 0.6947 MB / 1.044 GB, free: 7.191 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.1322, allocations: 0 / 1.044 GB, free: 7.191 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001683/0.1339, allocations: 0.7969 MB / 1.045 GB, free: 6.395 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001565/0.1341, allocations: 139 kB / 1.045 GB, free: 6.246 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002381/0.1364, allocations: 3.393 MB / 1.049 GB, free: 2.648 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1365, allocations: 0 / 1.049 GB, free: 2.648 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.307/0.4435, allocations: 2.793 MB / 1.051 GB, free: 176.7 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/0.4454, allocations: 0.7202 MB / 1.052 GB, free: 176.6 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006371/0.4518, allocations: 6.562 MB / 1.058 GB, free: 174 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007754/0.4525, allocations: 1.139 MB / 1.059 GB, free: 173.9 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005154/0.453, allocations: 236.7 kB / 1.06 GB, free: 173.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007241/0.4538, allocations: 0.5745 MB / 1.06 GB, free: 173.8 MB / 1.01 GB Notification: Performance of SimCode: time 1.223e-06/0.4538, allocations: 0 / 1.06 GB, free: 173.8 MB / 1.01 GB Notification: Performance of Templates: time 0.04855/0.5023, allocations: 39.6 MB / 1.099 GB, free: 169.9 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_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: 6.4659378454089165]