Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.0008911/0.0008911, 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.0009255/0.0009255, allocations: 169 kB / 24.28 MB, free: 276 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.901/0.901, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.694/1.694, allocations: 359 MB / 0.6055 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_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.212e-05, allocations: 9.344 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01526/0.01529, allocations: 20.57 MB / 0.8072 GB, free: 8.18 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.007428/0.02271, allocations: 6.611 MB / 0.8137 GB, free: 1.578 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007423/0.02346, allocations: 111.2 kB / 0.8138 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.002558/0.02601, allocations: 2.315 MB / 0.816 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001888/0.0279, allocations: 1.278 MB / 0.8173 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.03, allocations: 1.29 MB / 0.8185 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.004004/0.03401, allocations: 4.939 MB / 0.8234 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003332/0.03734, allocations: 3.189 MB / 0.8265 GB, free: 4.383 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003035/0.04037, allocations: 3.029 MB / 0.8294 GB, free: 1.348 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002412/0.04279, allocations: 2.346 MB / 0.8317 GB, free: 15 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0004616/0.04325, allocations: 428 kB / 0.8321 GB, free: 14.58 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.04458, allocations: 0.9592 MB / 0.8331 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001455/0.04604, allocations: 1.805 MB / 0.8348 GB, free: 11.81 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.04733, allocations: 1.357 MB / 0.8361 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.003297/0.05063, allocations: 3.642 MB / 0.8397 GB, free: 6.797 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.05063, allocations: 4 kB / 0.8397 GB, free: 6.793 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.372e-06/0.05063, allocations: 0 / 0.8397 GB, free: 6.793 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.266e-05/0.05066, allocations: 3.938 kB / 0.8397 GB, free: 6.789 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.004637/0.0553, allocations: 3.665 MB / 0.8433 GB, free: 3.066 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.05534, allocations: 12.03 kB / 0.8433 GB, free: 3.055 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00301/0.05835, allocations: 1.025 MB / 0.8443 GB, free: 2.027 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002589/0.06094, allocations: 1.953 MB / 0.8462 GB, free: 20 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.0611, allocations: 226.4 kB / 0.8464 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00039/0.06149, allocations: 296.4 kB / 0.8467 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004425/0.06592, allocations: 3.14 MB / 0.8498 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-05/0.06598, allocations: 16.02 kB / 0.8498 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002689/0.06625, allocations: 135.9 kB / 0.8499 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003134/0.06656, allocations: 225.7 kB / 0.8501 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002666/0.06923, allocations: 1.134 MB / 0.8512 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0124/0.08163, allocations: 14.41 MB / 0.8653 GB, free: 11.69 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009434/0.08258, allocations: 0.599 MB / 0.8659 GB, free: 11.08 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007435/0.08332, allocations: 446.4 kB / 0.8663 GB, free: 10.64 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.439e-05/0.08337, allocations: 21 kB / 0.8663 GB, free: 10.62 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.08341, allocations: 46.39 kB / 0.8664 GB, free: 10.57 MB / 0.823 GB Notification: Performance of pre-optimization done (n=107): time 4.178e-06/0.08341, allocations: 0 / 0.8664 GB, free: 10.57 MB / 0.823 GB Notification: Performance of matching and sorting (n=138): time 0.009916/0.09333, allocations: 4.452 MB / 0.8707 GB, free: 6.109 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.09336, allocations: 64.72 kB / 0.8708 GB, free: 6.035 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007643/0.09413, allocations: 0.989 MB / 0.8718 GB, free: 5.035 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.523e-05/0.09419, allocations: 45.7 kB / 0.8718 GB, free: 4.984 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005687/0.09476, allocations: 1.392 MB / 0.8732 GB, free: 3.578 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002764/0.09504, allocations: 0.5114 MB / 0.8737 GB, free: 3.062 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002933/0.09533, allocations: 309.1 kB / 0.874 GB, free: 2.754 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.123e-05/0.09542, allocations: 476.8 kB / 0.8744 GB, free: 2.285 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004631/0.09588, allocations: 303.8 kB / 0.8747 GB, free: 1.988 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008762/0.09676, allocations: 0.8885 MB / 0.8756 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.09804, allocations: 1.309 MB / 0.8768 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.09804, allocations: 4 kB / 0.8769 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.002648/0.1007, allocations: 1.935 MB / 0.8787 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.1007, allocations: 15.94 kB / 0.8788 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.1007, allocations: 12 kB / 0.8788 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001881/0.1026, allocations: 0.8721 MB / 0.8796 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004935/0.1031, allocations: 259.6 kB / 0.8799 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00756/0.1107, allocations: 9.091 MB / 0.8887 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005759/0.1112, allocations: 95.84 kB / 0.8888 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.469e-05/0.1113, allocations: 64 kB / 0.8889 GB, free: 2.594 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006628/0.112, allocations: 244.2 kB / 0.8891 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/0.1122, allocations: 207 kB / 0.8893 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002626/0.1148, allocations: 1.654 MB / 0.8909 GB, free: 472 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.1148, allocations: 16 kB / 0.891 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.1148, allocations: 12 kB / 0.891 GB, free: 444 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.1148, allocations: 11.97 kB / 0.891 GB, free: 432 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005369/0.1202, allocations: 3.978 MB / 0.8949 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.1202, allocations: 7.938 kB / 0.8949 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003083/0.1205, allocations: 147.8 kB / 0.895 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001732/0.1222, allocations: 0.8137 MB / 0.8958 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.678e-05/0.1223, allocations: 24 kB / 0.8958 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007727/0.13, allocations: 9.044 MB / 0.9047 GB, free: 1.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.13, allocations: 11.94 kB / 0.9047 GB, free: 1.898 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002435/0.1325, allocations: 1.867 MB / 0.9065 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004412/0.1329, allocations: 326.9 kB / 0.9068 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.133, allocations: 27.98 kB / 0.9068 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.1334, allocations: 83.91 kB / 0.9069 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/0.1336, allocations: 128.6 kB / 0.907 GB, free: 15.37 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.405e-05/0.1337, allocations: 43.94 kB / 0.9071 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005245/0.1342, allocations: 0.5887 MB / 0.9077 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.1342, allocations: 0 / 0.9077 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001567/0.1358, allocations: 0.6602 MB / 0.9083 GB, free: 14.07 MB / 0.8698 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001978/0.136, allocations: 143.1 kB / 0.9084 GB, free: 13.92 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002532/0.1385, allocations: 2.108 MB / 0.9105 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1385, allocations: 4.25 kB / 0.9105 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00145/0.1399, allocations: 1.568 MB / 0.912 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.1411, allocations: 481.1 kB / 0.9125 GB, free: 9.691 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005881/0.147, allocations: 4.793 MB / 0.9172 GB, free: 4.758 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000816/0.1478, allocations: 0.8038 MB / 0.918 GB, free: 3.93 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005344/0.1483, allocations: 289.3 kB / 0.9182 GB, free: 3.641 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.1485, allocations: 88.5 kB / 0.9183 GB, free: 3.555 MB / 0.8698 GB Notification: Performance of SimCode: time 1.062e-06/0.1485, allocations: 0 / 0.9183 GB, free: 3.555 MB / 0.8698 GB Notification: Performance of Templates: time 0.03355/0.182, allocations: 33.5 MB / 0.951 GB, free: 2.703 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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: 5.442290110979229]