Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001322/0.001322, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001067/0.001067, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9406/0.9406, allocations: 177.1 MB / 204.2 MB, free: 5.586 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.854/1.854, allocations: 359 MB / 0.6052 GB, free: 10.96 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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,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_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.201e-05/3.368e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02026/0.0203, allocations: 18.32 MB / 0.805 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.008891/0.02919, allocations: 5.576 MB / 0.8105 GB, free: 4.508 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002128/0.03131, allocations: 206.5 kB / 0.8107 GB, free: 4.305 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001715/0.03303, allocations: 0.8144 MB / 0.8115 GB, free: 3.484 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002903/0.03593, allocations: 1.775 MB / 0.8132 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002931/0.03886, allocations: 1.76 MB / 0.8149 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.007216/0.04608, allocations: 8.47 MB / 0.8232 GB, free: 7.461 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00673/0.05281, allocations: 6.022 MB / 0.8291 GB, free: 1.316 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006573/0.05938, allocations: 5.357 MB / 0.8343 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005371/0.06475, allocations: 4.194 MB / 0.8384 GB, free: 7.746 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001117/0.06587, allocations: 0.7812 MB / 0.8391 GB, free: 6.965 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/0.06731, allocations: 0.8786 MB / 0.84 GB, free: 6.086 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.002521/0.06983, allocations: 3.325 MB / 0.8433 GB, free: 2.754 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.002738/0.07257, allocations: 2.405 MB / 0.8456 GB, free: 352 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.005537/0.0781, allocations: 5.992 MB / 0.8515 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.07811, allocations: 0 / 0.8515 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.874e-06/0.07811, allocations: 0 / 0.8515 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001504/0.07826, allocations: 0 / 0.8515 GB, free: 10.34 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.00686/0.08512, allocations: 5.991 MB / 0.8573 GB, free: 4.273 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.08517, allocations: 16.02 kB / 0.8573 GB, free: 4.258 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003555/0.08872, allocations: 1.772 MB / 0.859 GB, free: 2.48 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003787/0.09251, allocations: 3.346 MB / 0.8623 GB, free: 15.07 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001999/0.09271, allocations: 415.4 kB / 0.8627 GB, free: 14.66 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005511/0.09326, allocations: 0.5432 MB / 0.8632 GB, free: 14.12 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007315/0.1006, allocations: 5.464 MB / 0.8686 GB, free: 8.156 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/0.1007, allocations: 31.95 kB / 0.8686 GB, free: 8.125 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003665/0.101, allocations: 236.3 kB / 0.8688 GB, free: 7.895 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000268/0.1013, allocations: 350.7 kB / 0.8692 GB, free: 7.551 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004523/0.1058, allocations: 2.046 MB / 0.8712 GB, free: 5.496 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02209/0.1279, allocations: 27.02 MB / 0.8976 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.1297, allocations: 1.256 MB / 0.8988 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.1308, allocations: 0.8804 MB / 0.8996 GB, free: 7.609 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.078e-05/0.1309, allocations: 30 kB / 0.8997 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.1309, allocations: 55.39 kB / 0.8997 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=179): time 4.228e-06/0.1309, allocations: 0 / 0.8997 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of matching and sorting (n=182): time 0.01256/0.1435, allocations: 6.292 MB / 0.9059 GB, free: 1.207 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.1435, allocations: 73.41 kB / 0.9059 GB, free: 1.125 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.1447, allocations: 1.362 MB / 0.9073 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.483e-05/0.1448, allocations: 57.7 kB / 0.9073 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001063/0.1458, allocations: 2.362 MB / 0.9096 GB, free: 13.31 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004802/0.1463, allocations: 0.678 MB / 0.9103 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004211/0.1467, allocations: 422.1 kB / 0.9107 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1468, allocations: 480.8 kB / 0.9112 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000597/0.1474, allocations: 388.2 kB / 0.9115 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001875/0.1493, allocations: 1.399 MB / 0.9129 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002162/0.1515, allocations: 1.979 MB / 0.9148 GB, free: 7.105 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.1515, allocations: 4 kB / 0.9148 GB, free: 7.102 MB / 0.8698 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004092/0.1556, allocations: 2.629 MB / 0.9174 GB, free: 4.445 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.249e-05/0.1556, allocations: 19.94 kB / 0.9174 GB, free: 4.426 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.696e-05/0.1556, allocations: 24 kB / 0.9174 GB, free: 4.402 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002443/0.1581, allocations: 1.207 MB / 0.9186 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006925/0.1588, allocations: 359.3 kB / 0.919 GB, free: 2.832 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/0.1699, allocations: 12.68 MB / 0.9313 GB, free: 5.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.171, allocations: 115.9 kB / 0.9314 GB, free: 5.566 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.1711, allocations: 104 kB / 0.9315 GB, free: 5.465 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 (177): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001211/0.1723, allocations: 288 kB / 0.9318 GB, free: 5.172 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002728/0.1726, allocations: 278.6 kB / 0.9321 GB, free: 4.898 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003062/0.1756, allocations: 2.13 MB / 0.9342 GB, free: 2.734 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.1756, allocations: 19.98 kB / 0.9342 GB, free: 2.715 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/0.1756, allocations: 20 kB / 0.9342 GB, free: 2.695 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.1757, allocations: 11.97 kB / 0.9342 GB, free: 2.684 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008192/0.1838, allocations: 5.956 MB / 0.94 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.1839, allocations: 16.03 kB / 0.9401 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004413/0.1843, allocations: 179.7 kB / 0.9402 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002028/0.1863, allocations: 1.006 MB / 0.9412 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.796e-05/0.1864, allocations: 40 kB / 0.9412 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009804/0.1962, allocations: 11.87 MB / 0.9528 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.1962, allocations: 4 kB / 0.9528 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00349/0.1997, allocations: 2.374 MB / 0.9552 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006908/0.2004, allocations: 430.7 kB / 0.9556 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.2006, allocations: 36 kB / 0.9556 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004957/0.2011, allocations: 91.89 kB / 0.9557 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004168/0.2015, allocations: 173.5 kB / 0.9559 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.872e-05/0.2016, allocations: 48 kB / 0.9559 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0007251/0.2023, allocations: 0.7708 MB / 0.9566 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.71e-07/0.2023, allocations: 0 / 0.9566 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002434/0.2047, allocations: 0.9922 MB / 0.9576 GB, free: 9.957 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002261/0.2049, allocations: 147 kB / 0.9578 GB, free: 9.805 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003637/0.2086, allocations: 2.966 MB / 0.9607 GB, free: 6.758 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.2086, allocations: 4 kB / 0.9607 GB, free: 6.754 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002303/0.2109, allocations: 2.17 MB / 0.9628 GB, free: 4.512 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/0.2127, allocations: 0.7583 MB / 0.9635 GB, free: 3.781 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.2233, allocations: 7.809 MB / 0.9711 GB, free: 11.83 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001212/0.2245, allocations: 1.353 MB / 0.9725 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0008352/0.2254, allocations: 379 kB / 0.9728 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.2256, allocations: 116.5 kB / 0.9729 GB, free: 9.961 MB / 0.9323 GB Notification: Performance of SimCode: time 1.954e-06/0.2256, allocations: 4 kB / 0.9729 GB, free: 9.957 MB / 0.9323 GB Notification: Performance of Templates: time 0.05453/0.2801, allocations: 45.05 MB / 1.017 GB, free: 13.71 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.14633169490844]