Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.0009383/0.0009383, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009811/0.0009811, allocations: 181 kB / 23.36 MB, free: 1.129 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.9923/0.9923, allocations: 177.1 MB / 203.8 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.507/2.507, allocations: 438.8 MB / 0.6827 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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_RL,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_3.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.|load_sc_3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,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_3.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.|load_sc_3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069e-05/1.206e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01174/0.01175, allocations: 15.13 MB / 0.8534 GB, free: 14.99 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.006634/0.01839, allocations: 4.621 MB / 0.8579 GB, free: 10.35 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000748/0.01913, allocations: 154.8 kB / 0.8581 GB, free: 10.2 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.02016, allocations: 0.636 MB / 0.8587 GB, free: 9.559 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.02177, allocations: 1.46 MB / 0.8601 GB, free: 8.09 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.0233, allocations: 1.334 MB / 0.8614 GB, free: 6.754 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.00404/0.02734, allocations: 6.164 MB / 0.8675 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003341/0.03068, allocations: 4.004 MB / 0.8714 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002994/0.03367, allocations: 3.704 MB / 0.875 GB, free: 8.738 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002583/0.03626, allocations: 2.767 MB / 0.8777 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0004309/0.03669, allocations: 0.5078 MB / 0.8782 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006828/0.03737, allocations: 0.5974 MB / 0.8788 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.001167/0.03854, allocations: 2.222 MB / 0.8809 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.03966, allocations: 1.672 MB / 0.8826 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.002876/0.04254, allocations: 4.106 MB / 0.8866 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.04254, allocations: 0 / 0.8866 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.002e-06/0.04254, allocations: 4 kB / 0.8866 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.544e-05/0.04257, allocations: 0 / 0.8866 GB, free: 12.84 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.003591/0.04617, allocations: 3.978 MB / 0.8905 GB, free: 8.812 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.0462, allocations: 12.62 kB / 0.8905 GB, free: 8.801 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002394/0.04859, allocations: 1.003 MB / 0.8915 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002012/0.0506, allocations: 1.976 MB / 0.8934 GB, free: 5.77 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.05073, allocations: 279.6 kB / 0.8937 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004386/0.05117, allocations: 380.8 kB / 0.894 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003052/0.05422, allocations: 3.596 MB / 0.8975 GB, free: 1.164 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.637e-05/0.05429, allocations: 27.78 kB / 0.8976 GB, free: 1.137 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002259/0.05451, allocations: 156 kB / 0.8977 GB, free: 0.9844 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005502/0.05506, allocations: 270.9 kB / 0.898 GB, free: 0.7188 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.05645, allocations: 0.996 MB / 0.8989 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01025/0.0667, allocations: 14.17 MB / 0.9128 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/0.06714, allocations: 406.1 kB / 0.9132 GB, free: 0.6367 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003264/0.06747, allocations: 299.7 kB / 0.9134 GB, free: 348 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.607e-05/0.06752, allocations: 21 kB / 0.9135 GB, free: 324 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.06755, allocations: 47.56 kB / 0.9135 GB, free: 268 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=110): time 2.254e-06/0.06755, allocations: 0 / 0.9135 GB, free: 268 kB / 0.8698 GB Notification: Performance of matching and sorting (n=113): time 0.004923/0.07248, allocations: 3.096 MB / 0.9165 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.07251, allocations: 64.41 kB / 0.9166 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007135/0.07322, allocations: 1.182 MB / 0.9177 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.113e-05/0.07328, allocations: 45.7 kB / 0.9178 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008498/0.07413, allocations: 1.517 MB / 0.9193 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/0.07434, allocations: 416.3 kB / 0.9197 GB, free: 9.859 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002672/0.0746, allocations: 299.2 kB / 0.92 GB, free: 9.562 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.937e-05/0.07466, allocations: 305.1 kB / 0.9202 GB, free: 9.262 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.07493, allocations: 206.8 kB / 0.9204 GB, free: 9.059 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004787/0.07541, allocations: 0.7173 MB / 0.9211 GB, free: 8.105 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009064/0.07631, allocations: 1.102 MB / 0.9222 GB, free: 6.762 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.07632, allocations: 8 kB / 0.9222 GB, free: 6.754 MB / 0.8855 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001498/0.07782, allocations: 1.282 MB / 0.9235 GB, free: 5.438 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.07784, allocations: 12 kB / 0.9235 GB, free: 5.426 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.07785, allocations: 20 kB / 0.9235 GB, free: 5.406 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008621/0.07872, allocations: 422 kB / 0.9239 GB, free: 4.969 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007949/0.07951, allocations: 371.4 kB / 0.9243 GB, free: 4.605 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004445/0.08396, allocations: 8.063 MB / 0.9321 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004517/0.08441, allocations: 44 kB / 0.9322 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.902e-05/0.08448, allocations: 56 kB / 0.9322 GB, free: 11.86 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (184): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,4,100.0%), (2,4,100.0%), (2,4,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.0004548/0.08493, allocations: 224 kB / 0.9324 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004038/0.08533, allocations: 159.8 kB / 0.9326 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.08653, allocations: 0.9677 MB / 0.9335 GB, free: 10.47 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.08654, allocations: 12 kB / 0.9336 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.08655, allocations: 4 kB / 0.9336 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.08655, allocations: 7.969 kB / 0.9336 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002788/0.08934, allocations: 2.332 MB / 0.9358 GB, free: 8.016 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.08935, allocations: 4 kB / 0.9358 GB, free: 8.012 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005832/0.08993, allocations: 223 kB / 0.9361 GB, free: 7.801 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007989/0.09073, allocations: 393.8 kB / 0.9364 GB, free: 7.391 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.693e-05/0.09078, allocations: 31.98 kB / 0.9365 GB, free: 7.359 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004389/0.09517, allocations: 8.039 MB / 0.9443 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.09518, allocations: 4 kB / 0.9443 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/0.09666, allocations: 1.333 MB / 0.9456 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003149/0.09698, allocations: 250.7 kB / 0.9459 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.0971, allocations: 35.98 kB / 0.9459 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003297/0.09743, allocations: 27.94 kB / 0.9459 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.09756, allocations: 88.78 kB / 0.946 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/0.09761, allocations: 32.17 kB / 0.946 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0006263/0.09824, allocations: 0.5702 MB / 0.9466 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.09824, allocations: 0 / 0.9466 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001011/0.09925, allocations: 0.6523 MB / 0.9472 GB, free: 11.66 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (92): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,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.0001591/0.09941, allocations: 131.3 kB / 0.9474 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001406/0.1008, allocations: 1.627 MB / 0.9489 GB, free: 9.816 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.443e-05/0.1008, allocations: 22.19 kB / 0.949 GB, free: 9.797 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008815/0.1017, allocations: 1.2 MB / 0.9501 GB, free: 8.516 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.1029, allocations: 0.6279 MB / 0.9508 GB, free: 7.906 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00562/0.1086, allocations: 5.695 MB / 0.9563 GB, free: 2.102 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006693/0.1092, allocations: 0.9069 MB / 0.9572 GB, free: 1.176 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005062/0.1097, allocations: 236 kB / 0.9574 GB, free: 0.9414 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008252/0.1106, allocations: 0.5108 MB / 0.9579 GB, free: 432 kB / 0.9167 GB Notification: Performance of SimCode: time 7.91e-07/0.1106, allocations: 0 / 0.9579 GB, free: 432 kB / 0.9167 GB Notification: Performance of Templates: time 0.03811/0.1487, allocations: 32.56 MB / 0.9897 GB, free: 0.6406 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.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.9732292923145]