Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001304/0.001304, allocations: 81.55 kB / 19.87 MB, free: 4.617 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.001629/0.001629, allocations: 169 kB / 23.28 MB, free: 1.215 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.9392/0.9392, allocations: 177.1 MB / 203.7 MB, free: 5.488 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.288/2.288, allocations: 438.1 MB / 0.682 GB, free: 14.14 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_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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.8898 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.885e-05/2.014e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.013/0.01302, allocations: 17.82 MB / 0.9072 GB, free: 7.809 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.006879/0.0199, allocations: 5.543 MB / 0.9126 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009137/0.02081, allocations: 210.4 kB / 0.9128 GB, free: 2.043 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.02194, allocations: 0.8145 MB / 0.9136 GB, free: 1.223 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001748/0.02369, allocations: 1.786 MB / 0.9153 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.02564, allocations: 1.755 MB / 0.917 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.005431/0.03107, allocations: 8.462 MB / 0.9253 GB, free: 5.18 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00518/0.03625, allocations: 6.018 MB / 0.9312 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004044/0.0403, allocations: 5.369 MB / 0.9364 GB, free: 9.66 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003481/0.04378, allocations: 4.271 MB / 0.9406 GB, free: 5.379 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0006588/0.04443, allocations: 0.7812 MB / 0.9414 GB, free: 4.598 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009296/0.04536, allocations: 0.8592 MB / 0.9422 GB, free: 3.738 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.001959/0.04732, allocations: 3.325 MB / 0.9454 GB, free: 416 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.001615/0.04894, allocations: 2.39 MB / 0.9478 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.003956/0.05289, allocations: 5.976 MB / 0.9536 GB, free: 8.02 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.0529, allocations: 0 / 0.9536 GB, free: 8.02 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.21e-07/0.0529, allocations: 0 / 0.9536 GB, free: 8.02 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.269e-05/0.05297, allocations: 0 / 0.9536 GB, free: 8.02 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.005449/0.05842, allocations: 5.962 MB / 0.9594 GB, free: 1.98 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.05846, allocations: 8.625 kB / 0.9594 GB, free: 1.973 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002707/0.06117, allocations: 1.565 MB / 0.961 GB, free: 412 kB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002798/0.06396, allocations: 3.007 MB / 0.9639 GB, free: 13.32 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.06415, allocations: 411.5 kB / 0.9643 GB, free: 12.92 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004935/0.06464, allocations: 0.551 MB / 0.9648 GB, free: 12.37 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004868/0.06951, allocations: 5.088 MB / 0.9698 GB, free: 6.781 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.641e-05/0.0696, allocations: 24.02 kB / 0.9698 GB, free: 6.758 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003197/0.06992, allocations: 236.3 kB / 0.9701 GB, free: 6.527 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000221/0.07014, allocations: 358.6 kB / 0.9704 GB, free: 6.176 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/0.07226, allocations: 1.611 MB / 0.972 GB, free: 4.555 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01825/0.09051, allocations: 25.61 MB / 0.997 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/0.09215, allocations: 1.14 MB / 0.9981 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.09328, allocations: 0.771 MB / 0.9988 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.182e-05/0.09336, allocations: 30 kB / 0.9989 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.0934, allocations: 59.39 kB / 0.9989 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=179): time 2.895e-06/0.0934, allocations: 0 / 0.9989 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of matching and sorting (n=182): time 0.01451/0.1079, allocations: 5.333 MB / 1.004 GB, free: 2.879 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.108, allocations: 77.41 kB / 1.004 GB, free: 2.793 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.1092, allocations: 1.349 MB / 1.006 GB, free: 1.434 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.434e-05/0.1093, allocations: 53.7 kB / 1.006 GB, free: 1.375 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001381/0.1107, allocations: 2.385 MB / 1.008 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006792/0.1114, allocations: 0.6779 MB / 1.009 GB, free: 14.28 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005824/0.112, allocations: 433.9 kB / 1.009 GB, free: 13.85 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1121, allocations: 480.7 kB / 1.009 GB, free: 13.38 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000522/0.1126, allocations: 292.2 kB / 1.01 GB, free: 13.09 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.1138, allocations: 1.309 MB / 1.011 GB, free: 11.34 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001895/0.1157, allocations: 1.815 MB / 1.013 GB, free: 9.102 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/0.1157, allocations: 8 kB / 1.013 GB, free: 9.094 MB / 0.9792 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004412/0.1201, allocations: 2.383 MB / 1.015 GB, free: 6.688 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.1202, allocations: 12 kB / 1.015 GB, free: 6.676 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/0.1202, allocations: 28.34 kB / 1.015 GB, free: 6.648 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002921/0.1231, allocations: 1.189 MB / 1.016 GB, free: 5.449 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008528/0.124, allocations: 327.3 kB / 1.017 GB, free: 5.129 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01258/0.1365, allocations: 12.17 MB / 1.029 GB, free: 8.512 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006317/0.1372, allocations: 64 kB / 1.029 GB, free: 8.449 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.921e-05/0.1373, allocations: 79.94 kB / 1.029 GB, free: 8.371 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 (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.0008412/0.1381, allocations: 300 kB / 1.029 GB, free: 8.066 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/0.1383, allocations: 286.5 kB / 1.029 GB, free: 7.785 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002151/0.1405, allocations: 1.923 MB / 1.031 GB, free: 5.824 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.1405, allocations: 16 kB / 1.031 GB, free: 5.809 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.1405, allocations: 19.94 kB / 1.031 GB, free: 5.789 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.223e-05/0.1406, allocations: 11.95 kB / 1.031 GB, free: 5.777 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005593/0.1462, allocations: 4.571 MB / 1.036 GB, free: 1.066 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.1462, allocations: 4 kB / 1.036 GB, free: 1.062 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003338/0.1465, allocations: 143.8 kB / 1.036 GB, free: 0.9219 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001661/0.1482, allocations: 0.9872 MB / 1.037 GB, free: 15.92 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.418e-05/0.1482, allocations: 39.94 kB / 1.037 GB, free: 15.88 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008458/0.1567, allocations: 11.43 MB / 1.048 GB, free: 4.012 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1567, allocations: 4 kB / 1.048 GB, free: 4.008 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002374/0.1591, allocations: 2.178 MB / 1.05 GB, free: 1.711 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004573/0.1595, allocations: 382.5 kB / 1.05 GB, free: 1.336 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.1597, allocations: 43.92 kB / 1.05 GB, free: 1.293 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.16, allocations: 32 kB / 1.05 GB, free: 1.262 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002271/0.1603, allocations: 169.6 kB / 1.051 GB, free: 1.094 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.833e-05/0.1603, allocations: 39.98 kB / 1.051 GB, free: 1.055 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004602/0.1608, allocations: 0.7198 MB / 1.051 GB, free: 352 kB / 1.01 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1608, allocations: 0 / 1.051 GB, free: 352 kB / 1.01 GB Notification: Performance of remove unused functions: time 0.3992/0.56, allocations: 0.9936 MB / 1.052 GB, free: 163.5 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 (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.0003124/0.5603, allocations: 143.7 kB / 1.052 GB, free: 163.4 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003047/0.5634, allocations: 2.803 MB / 1.055 GB, free: 162.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.5634, allocations: 0.5938 kB / 1.055 GB, free: 162.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001793/0.5652, allocations: 2.068 MB / 1.057 GB, free: 161.7 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.5669, allocations: 0.7738 MB / 1.058 GB, free: 161.7 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008383/0.5753, allocations: 7.803 MB / 1.066 GB, free: 158.6 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001142/0.5765, allocations: 1.351 MB / 1.067 GB, free: 158.4 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008022/0.5773, allocations: 252 kB / 1.067 GB, free: 158.4 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007457/0.578, allocations: 0.5788 MB / 1.068 GB, free: 158.3 MB / 1.01 GB Notification: Performance of SimCode: time 1.603e-06/0.578, allocations: 0 / 1.068 GB, free: 158.3 MB / 1.01 GB Notification: Performance of Templates: time 0.06962/0.6476, allocations: 47.58 MB / 1.114 GB, free: 151 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.417494258843362]