Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.0009538/0.0009538, allocations: 81.14 kB / 19.87 MB, free: 4.625 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.001451/0.001451, allocations: 173 kB / 23.28 MB, free: 1.227 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.9238/0.9238, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.262/2.262, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.8898 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.738e-06/1.148e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.01345/0.01346, allocations: 19.5 MB / 0.9088 GB, free: 6.145 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.00703/0.02049, allocations: 5.581 MB / 0.9143 GB, free: 0.5469 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009933/0.02148, allocations: 190.6 kB / 0.9144 GB, free: 368 kB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.02266, allocations: 0.8454 MB / 0.9153 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.02462, allocations: 1.852 MB / 0.9171 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001798/0.02642, allocations: 1.634 MB / 0.9187 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.005264/0.03168, allocations: 8.012 MB / 0.9265 GB, free: 3.969 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004648/0.03633, allocations: 5.23 MB / 0.9316 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004192/0.04052, allocations: 4.873 MB / 0.9364 GB, free: 9.73 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003173/0.04369, allocations: 3.757 MB / 0.94 GB, free: 5.965 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0006748/0.04437, allocations: 0.6758 MB / 0.9407 GB, free: 5.289 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009576/0.04533, allocations: 0.7654 MB / 0.9414 GB, free: 4.523 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.00157/0.0469, allocations: 2.83 MB / 0.9442 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.001789/0.04869, allocations: 2.179 MB / 0.9463 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.003627/0.05231, allocations: 5.321 MB / 0.9515 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.05232, allocations: 0 / 0.9515 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.093e-06/0.05232, allocations: 0 / 0.9515 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.317e-05/0.05237, allocations: 0 / 0.9515 GB, free: 10.17 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.004945/0.05732, allocations: 5.603 MB / 0.957 GB, free: 4.496 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.05736, allocations: 16.61 kB / 0.957 GB, free: 4.48 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002079/0.05944, allocations: 1.309 MB / 0.9583 GB, free: 3.164 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002618/0.06205, allocations: 2.812 MB / 0.961 GB, free: 292 kB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/0.06223, allocations: 354 kB / 0.9614 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004209/0.06265, allocations: 488.2 kB / 0.9618 GB, free: 15.46 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004193/0.06684, allocations: 5.065 MB / 0.9668 GB, free: 9.73 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.201e-05/0.06691, allocations: 24 kB / 0.9668 GB, free: 9.707 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002863/0.0672, allocations: 208.3 kB / 0.967 GB, free: 9.504 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003012/0.0675, allocations: 369 kB / 0.9674 GB, free: 9.141 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.06938, allocations: 1.463 MB / 0.9688 GB, free: 7.656 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01415/0.08353, allocations: 25.05 MB / 0.9933 GB, free: 13.82 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009681/0.0845, allocations: 0.7756 MB / 0.994 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005017/0.085, allocations: 0.5331 MB / 0.9945 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.678e-05/0.08507, allocations: 25.31 kB / 0.9946 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.0851, allocations: 58.7 kB / 0.9946 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=157): time 3.026e-06/0.08511, allocations: 0 / 0.9946 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=160): time 0.004525/0.08963, allocations: 3.101 MB / 0.9976 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.08966, allocations: 72.66 kB / 0.9977 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.09068, allocations: 1.56 MB / 0.9992 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.893e-05/0.09075, allocations: 53.7 kB / 0.9993 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009227/0.09168, allocations: 2.261 MB / 1.001 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003011/0.09198, allocations: 0.5965 MB / 1.002 GB, free: 4.617 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003673/0.09234, allocations: 413.7 kB / 1.002 GB, free: 4.203 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.451e-05/0.09244, allocations: 476.8 kB / 1.003 GB, free: 3.734 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004806/0.09292, allocations: 280.2 kB / 1.003 GB, free: 3.457 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009338/0.09385, allocations: 1.285 MB / 1.004 GB, free: 1.738 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.09512, allocations: 1.762 MB / 1.006 GB, free: 15.55 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.09513, allocations: 8 kB / 1.006 GB, free: 15.54 MB / 0.9792 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.002454/0.09758, allocations: 2.147 MB / 1.008 GB, free: 13.34 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.09761, allocations: 14.34 kB / 1.008 GB, free: 13.32 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.36e-05/0.09764, allocations: 24.41 kB / 1.008 GB, free: 13.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.09902, allocations: 0.7143 MB / 1.009 GB, free: 12.54 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007119/0.09973, allocations: 391.3 kB / 1.009 GB, free: 12.15 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009913/0.1096, allocations: 22.67 MB / 1.032 GB, free: 4.113 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.1107, allocations: 64 kB / 1.032 GB, free: 4.051 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.519e-05/0.1108, allocations: 76 kB / 1.032 GB, free: 3.977 MB / 0.9948 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.0009025/0.1117, allocations: 295.9 kB / 1.032 GB, free: 3.676 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003164/0.1121, allocations: 298.5 kB / 1.032 GB, free: 3.383 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001799/0.1139, allocations: 1.571 MB / 1.034 GB, free: 1.742 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.1139, allocations: 16 kB / 1.034 GB, free: 1.727 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.1139, allocations: 11.94 kB / 1.034 GB, free: 1.715 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.1139, allocations: 11.91 kB / 1.034 GB, free: 1.703 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005011/0.1189, allocations: 3.834 MB / 1.038 GB, free: 13.71 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.1189, allocations: 4 kB / 1.038 GB, free: 13.71 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004135/0.1193, allocations: 171.7 kB / 1.038 GB, free: 13.54 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001362/0.1207, allocations: 0.6717 MB / 1.038 GB, free: 12.82 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.048e-05/0.1208, allocations: 32 kB / 1.038 GB, free: 12.79 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3957/0.5165, allocations: 22.63 MB / 1.06 GB, free: 152.2 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.5165, allocations: 9.656 kB / 1.06 GB, free: 152.2 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/0.5188, allocations: 1.861 MB / 1.062 GB, free: 151.6 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006089/0.5194, allocations: 393.8 kB / 1.063 GB, free: 151.5 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/0.5195, allocations: 34.56 kB / 1.063 GB, free: 151.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004653/0.52, allocations: 33.19 kB / 1.063 GB, free: 151.5 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002706/0.5203, allocations: 149.4 kB / 1.063 GB, free: 151.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.507e-05/0.5203, allocations: 36.12 kB / 1.063 GB, free: 151.5 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005809/0.5209, allocations: 0.8287 MB / 1.064 GB, free: 151.3 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5209, allocations: 0 / 1.064 GB, free: 151.3 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00199/0.5229, allocations: 0.9051 MB / 1.065 GB, free: 151.3 MB / 1.01 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000195/0.5231, allocations: 152.6 kB / 1.065 GB, free: 151.2 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00242/0.5255, allocations: 3.569 MB / 1.068 GB, free: 149.1 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.5255, allocations: 4.875 kB / 1.068 GB, free: 149.1 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001491/0.527, allocations: 2.919 MB / 1.071 GB, free: 147 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/0.5288, allocations: 0.7596 MB / 1.072 GB, free: 146.9 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008737/0.5375, allocations: 6.975 MB / 1.079 GB, free: 144 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/0.5389, allocations: 1.171 MB / 1.08 GB, free: 143.8 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00104/0.5399, allocations: 299.1 kB / 1.08 GB, free: 143.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/0.541, allocations: 0.7399 MB / 1.081 GB, free: 143.7 MB / 1.01 GB Notification: Performance of SimCode: time 1.623e-06/0.541, allocations: 0 / 1.081 GB, free: 143.7 MB / 1.01 GB Notification: Performance of Templates: time 0.06671/0.6077, allocations: 45.38 MB / 1.125 GB, free: 136.7 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.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.353042874019593]