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.00108/0.00108, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001751/0.001751, allocations: 169 kB / 24.28 MB, free: 280 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.9619/0.9619, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.789/1.789, allocations: 359 MB / 0.6055 GB, free: 10.97 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.683e-06/1.683e-06, allocations: 0.5469 kB / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.522e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02684/0.02687, allocations: 35.34 MB / 0.8216 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01473/0.0416, allocations: 11.79 MB / 0.8332 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002639/0.04424, allocations: 210.4 kB / 0.8334 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.005896/0.05013, allocations: 4.397 MB / 0.8376 GB, free: 8.926 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.005151/0.05528, allocations: 2.148 MB / 0.8397 GB, free: 6.766 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.004575/0.05986, allocations: 2.427 MB / 0.8421 GB, free: 4.332 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.008229/0.06809, allocations: 8.618 MB / 0.8505 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007444/0.07553, allocations: 6.209 MB / 0.8566 GB, free: 5.359 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006904/0.08244, allocations: 5.446 MB / 0.8619 GB, free: 15.9 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005277/0.08771, allocations: 4.194 MB / 0.866 GB, free: 11.7 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.001536/0.08925, allocations: 0.7773 MB / 0.8668 GB, free: 10.92 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003204/0.09245, allocations: 1.926 MB / 0.8686 GB, free: 8.992 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.002685/0.09514, allocations: 3.336 MB / 0.8719 GB, free: 5.648 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.003/0.09814, allocations: 2.409 MB / 0.8743 GB, free: 3.234 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.006876/0.105, allocations: 6.666 MB / 0.8808 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.105, allocations: 0 / 0.8808 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.913e-06/0.105, allocations: 0 / 0.8808 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001876/0.1052, allocations: 0 / 0.8808 GB, free: 12.55 MB / 0.8386 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.007674/0.1129, allocations: 6.161 MB / 0.8868 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1129, allocations: 8.031 kB / 0.8868 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004634/0.1176, allocations: 1.78 MB / 0.8885 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00404/0.1216, allocations: 3.335 MB / 0.8918 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/0.1218, allocations: 415.5 kB / 0.8922 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006352/0.1224, allocations: 0.5393 MB / 0.8927 GB, free: 184 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008552/0.131, allocations: 5.476 MB / 0.8981 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001283/0.1311, allocations: 24.02 kB / 0.8981 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004172/0.1315, allocations: 236.3 kB / 0.8983 GB, free: 9.949 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002824/0.1318, allocations: 354.7 kB / 0.8986 GB, free: 9.602 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004736/0.1366, allocations: 2.042 MB / 0.9006 GB, free: 7.551 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02504/0.1616, allocations: 27.01 MB / 0.927 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.1634, allocations: 1.261 MB / 0.9282 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/0.1646, allocations: 0.8726 MB / 0.9291 GB, free: 9.672 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.072e-05/0.1646, allocations: 30 kB / 0.9291 GB, free: 9.645 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.1647, allocations: 55.39 kB / 0.9292 GB, free: 9.578 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=179): time 5.24e-06/0.1647, allocations: 4 kB / 0.9292 GB, free: 9.574 MB / 0.8855 GB Notification: Performance of matching and sorting (n=182): time 0.01323/0.1779, allocations: 6.296 MB / 0.9353 GB, free: 3.262 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.178, allocations: 69.41 kB / 0.9354 GB, free: 3.184 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.1795, allocations: 1.362 MB / 0.9367 GB, free: 1.812 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-05/0.1795, allocations: 49.7 kB / 0.9368 GB, free: 1.758 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001423/0.181, allocations: 2.373 MB / 0.9391 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004201/0.1814, allocations: 0.6741 MB / 0.9398 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003928/0.1818, allocations: 418.1 kB / 0.9402 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1819, allocations: 476.8 kB / 0.9406 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005769/0.1825, allocations: 392.2 kB / 0.941 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.1835, allocations: 1.407 MB / 0.9424 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002139/0.1856, allocations: 1.976 MB / 0.9443 GB, free: 9.168 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/0.1857, allocations: 12 kB / 0.9443 GB, free: 9.156 MB / 0.9011 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.003802/0.1895, allocations: 2.626 MB / 0.9469 GB, free: 6.504 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.1895, allocations: 23.97 kB / 0.9469 GB, free: 6.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/0.1895, allocations: 20 kB / 0.9469 GB, free: 6.461 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002358/0.1919, allocations: 1.217 MB / 0.9481 GB, free: 5.234 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006895/0.1926, allocations: 351.4 kB / 0.9484 GB, free: 4.891 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/0.2036, allocations: 12.67 MB / 0.9608 GB, free: 7.746 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.2047, allocations: 115.9 kB / 0.9609 GB, free: 7.633 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.2049, allocations: 96 kB / 0.961 GB, free: 7.539 MB / 0.9167 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.001058/0.2059, allocations: 299.8 kB / 0.9613 GB, free: 7.234 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003014/0.2062, allocations: 290.6 kB / 0.9616 GB, free: 6.949 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00295/0.2092, allocations: 2.126 MB / 0.9636 GB, free: 4.785 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/0.2092, allocations: 19.94 kB / 0.9637 GB, free: 4.766 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-05/0.2092, allocations: 16 kB / 0.9637 GB, free: 4.75 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.2092, allocations: 7.969 kB / 0.9637 GB, free: 4.742 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008835/0.218, allocations: 5.963 MB / 0.9695 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.218, allocations: 7.938 kB / 0.9695 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004382/0.2185, allocations: 187.7 kB / 0.9697 GB, free: 14.43 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002032/0.2205, allocations: 0.9988 MB / 0.9707 GB, free: 13.42 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.127e-05/0.2206, allocations: 39.98 kB / 0.9707 GB, free: 13.38 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01025/0.2309, allocations: 11.87 MB / 0.9823 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.2309, allocations: 11.94 kB / 0.9823 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003301/0.2342, allocations: 2.358 MB / 0.9846 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006381/0.2348, allocations: 426.4 kB / 0.985 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.2349, allocations: 39.98 kB / 0.9851 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004605/0.2354, allocations: 92.16 kB / 0.9851 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003661/0.2358, allocations: 173.4 kB / 0.9853 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.423e-05/0.2358, allocations: 52 kB / 0.9854 GB, free: 13.77 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009658/0.2368, allocations: 0.7708 MB / 0.9861 GB, free: 13.01 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2368, allocations: 0 / 0.9861 GB, free: 13.01 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002506/0.2393, allocations: 1.004 MB / 0.9871 GB, free: 12 MB / 0.948 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.0002144/0.2395, allocations: 151 kB / 0.9872 GB, free: 11.85 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003606/0.2431, allocations: 2.974 MB / 0.9901 GB, free: 8.797 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.2431, allocations: 0 / 0.9901 GB, free: 8.797 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002208/0.2453, allocations: 2.165 MB / 0.9923 GB, free: 6.559 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/0.2476, allocations: 0.7534 MB / 0.993 GB, free: 5.836 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/0.2587, allocations: 7.807 MB / 1.001 GB, free: 13.88 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/0.2601, allocations: 1.353 MB / 1.002 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0009904/0.2611, allocations: 383.1 kB / 1.002 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.2613, allocations: 112.5 kB / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of SimCode: time 2.455e-06/0.2613, allocations: 0 / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of Templates: time 0.3607/0.622, allocations: 45.05 MB / 1.046 GB, free: 282.5 MB / 0.9948 GB " [Timeout remaining time 299] 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.282281209947541]