Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009722/0.0009722, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.00143/0.00143, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9485/0.9485, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.856/1.856, allocations: 359 MB / 0.6052 GB, free: 11 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.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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.104e-05/3.317e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02304/0.02308, allocations: 17.47 MB / 0.8042 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01278/0.03586, allocations: 5.089 MB / 0.8092 GB, free: 5.844 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002622/0.03848, allocations: 194.5 kB / 0.8093 GB, free: 5.652 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001927/0.04041, allocations: 0.7529 MB / 0.8101 GB, free: 4.895 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003594/0.044, allocations: 1.647 MB / 0.8117 GB, free: 3.25 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002864/0.04687, allocations: 1.565 MB / 0.8132 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.007272/0.05414, allocations: 7.344 MB / 0.8204 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006506/0.06064, allocations: 5.083 MB / 0.8254 GB, free: 5.113 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006263/0.06691, allocations: 4.555 MB / 0.8298 GB, free: 0.5508 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004248/0.07116, allocations: 3.474 MB / 0.8332 GB, free: 13.07 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001346/0.0725, allocations: 0.6484 MB / 0.8338 GB, free: 12.42 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.07401, allocations: 0.7379 MB / 0.8345 GB, free: 11.68 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.00238/0.07639, allocations: 2.779 MB / 0.8373 GB, free: 8.898 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.002683/0.07907, allocations: 2.035 MB / 0.8392 GB, free: 6.859 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.004897/0.08397, allocations: 5.053 MB / 0.8442 GB, free: 1.793 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.08398, allocations: 0 / 0.8442 GB, free: 1.793 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.463e-06/0.08398, allocations: 0 / 0.8442 GB, free: 1.793 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001915/0.08417, allocations: 0 / 0.8442 GB, free: 1.793 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.00658/0.09075, allocations: 5.15 MB / 0.8492 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.09079, allocations: 16.03 kB / 0.8492 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003296/0.09409, allocations: 1.558 MB / 0.8507 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003667/0.09775, allocations: 2.97 MB / 0.8536 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/0.09793, allocations: 349.7 kB / 0.854 GB, free: 7.613 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005021/0.09844, allocations: 472.2 kB / 0.8544 GB, free: 7.152 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006081/0.1045, allocations: 4.768 MB / 0.8591 GB, free: 1.852 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-05/0.1046, allocations: 28 kB / 0.8591 GB, free: 1.824 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003157/0.1049, allocations: 196.3 kB / 0.8593 GB, free: 1.633 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002683/0.1052, allocations: 316.9 kB / 0.8596 GB, free: 1.32 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003555/0.1088, allocations: 1.769 MB / 0.8613 GB, free: 15.53 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02007/0.1288, allocations: 25.06 MB / 0.8858 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.1301, allocations: 0.8028 MB / 0.8866 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006312/0.1307, allocations: 0.5069 MB / 0.8871 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.538e-05/0.1308, allocations: 21.31 kB / 0.8871 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.1308, allocations: 46.7 kB / 0.8871 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=133): time 3.747e-06/0.1308, allocations: 0 / 0.8871 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of matching and sorting (n=136): time 0.006655/0.1375, allocations: 3.753 MB / 0.8908 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.1375, allocations: 64.72 kB / 0.8909 GB, free: 436 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.1387, allocations: 1.327 MB / 0.8922 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.906e-05/0.1387, allocations: 45.7 kB / 0.8922 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009219/0.1397, allocations: 2.107 MB / 0.8943 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002947/0.14, allocations: 0.5153 MB / 0.8948 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003301/0.1403, allocations: 349 kB / 0.8951 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1404, allocations: 484.7 kB / 0.8956 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004803/0.1409, allocations: 319.7 kB / 0.8959 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009568/0.1418, allocations: 1.294 MB / 0.8971 GB, free: 9.535 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.1434, allocations: 1.775 MB / 0.8989 GB, free: 7.336 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.1434, allocations: 8 kB / 0.8989 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00282/0.1462, allocations: 2.175 MB / 0.901 GB, free: 5.094 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.1462, allocations: 16 kB / 0.901 GB, free: 5.078 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.1462, allocations: 20 kB / 0.901 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001539/0.1478, allocations: 0.7105 MB / 0.9017 GB, free: 4.297 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006665/0.1484, allocations: 347.4 kB / 0.9021 GB, free: 3.957 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01198/0.1604, allocations: 23.78 MB / 0.9253 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.1614, allocations: 99.86 kB / 0.9254 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.1615, allocations: 95.98 kB / 0.9255 GB, free: 10.52 MB / 0.8855 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.0009667/0.1625, allocations: 276 kB / 0.9257 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.1627, allocations: 250.7 kB / 0.926 GB, free: 9.988 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002298/0.165, allocations: 1.622 MB / 0.9276 GB, free: 8.297 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.1651, allocations: 19.98 kB / 0.9276 GB, free: 8.277 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.1651, allocations: 8 kB / 0.9276 GB, free: 8.27 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.1651, allocations: 7.969 kB / 0.9276 GB, free: 8.262 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006217/0.1713, allocations: 4.783 MB / 0.9323 GB, free: 3.305 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.1713, allocations: 4.562 kB / 0.9323 GB, free: 3.301 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004298/0.1717, allocations: 175.7 kB / 0.9324 GB, free: 3.129 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001403/0.1731, allocations: 0.6518 MB / 0.9331 GB, free: 2.426 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.421e-05/0.1732, allocations: 24 kB / 0.9331 GB, free: 2.402 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0111/0.1843, allocations: 22.73 MB / 0.9553 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.1843, allocations: 11.94 kB / 0.9553 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002624/0.1869, allocations: 1.866 MB / 0.9571 GB, free: 8.172 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005649/0.1875, allocations: 358.6 kB / 0.9575 GB, free: 7.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.1876, allocations: 24 kB / 0.9575 GB, free: 7.797 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/0.188, allocations: 75.91 kB / 0.9576 GB, free: 7.723 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002709/0.1883, allocations: 132.6 kB / 0.9577 GB, free: 7.594 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.315e-05/0.1883, allocations: 40 kB / 0.9577 GB, free: 7.555 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0007103/0.1891, allocations: 0.7419 MB / 0.9585 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1891, allocations: 0 / 0.9585 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002161/0.1912, allocations: 0.793 MB / 0.9592 GB, free: 6.023 MB / 0.9167 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.0001996/0.1914, allocations: 150.9 kB / 0.9594 GB, free: 5.867 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003162/0.1946, allocations: 3.51 MB / 0.9628 GB, free: 2.145 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1946, allocations: 256 / 0.9628 GB, free: 2.145 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001919/0.1965, allocations: 2.849 MB / 0.9656 GB, free: 15.08 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/0.1982, allocations: 0.7133 MB / 0.9663 GB, free: 14.39 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008516/0.2067, allocations: 6.586 MB / 0.9727 GB, free: 7.66 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/0.2078, allocations: 1.139 MB / 0.9738 GB, free: 6.496 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0007647/0.2086, allocations: 373.2 kB / 0.9742 GB, free: 6.129 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.2088, allocations: 112.5 kB / 0.9743 GB, free: 6.02 MB / 0.9323 GB Notification: Performance of SimCode: time 2.034e-06/0.2088, allocations: 0 / 0.9743 GB, free: 6.02 MB / 0.9323 GB Notification: Performance of Templates: time 0.04601/0.2548, allocations: 36.65 MB / 1.01 GB, free: 2.121 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.17894980404526]