Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.0009987/0.0009987, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001013/0.001013, allocations: 173 kB / 24.06 MB, free: 452 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.9998/0.9998, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.153/2.153, allocations: 429.5 MB / 0.6743 GB, free: 3.895 MB / 0.6355 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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,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_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8794 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/2.889e-05, allocations: 2.875 kB / 0.8794 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.01541/0.01544, allocations: 20.92 MB / 0.8998 GB, free: 1.008 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.009787/0.02523, allocations: 6.164 MB / 0.9059 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002271/0.0275, allocations: 198.6 kB / 0.9061 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.02933, allocations: 0.9229 MB / 0.907 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.003049/0.03238, allocations: 2.05 MB / 0.909 GB, free: 7.656 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002622/0.035, allocations: 1.841 MB / 0.9108 GB, free: 5.812 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.006599/0.0416, allocations: 9.321 MB / 0.9199 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006961/0.04856, allocations: 6.198 MB / 0.9259 GB, free: 6.141 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00598/0.05454, allocations: 5.743 MB / 0.9315 GB, free: 396 kB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004185/0.05873, allocations: 4.544 MB / 0.936 GB, free: 11.83 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0007479/0.05948, allocations: 0.8203 MB / 0.9368 GB, free: 11.01 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.06055, allocations: 0.9099 MB / 0.9376 GB, free: 10.1 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.002012/0.06257, allocations: 3.41 MB / 0.941 GB, free: 6.684 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.002425/0.06499, allocations: 2.581 MB / 0.9435 GB, free: 4.098 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.004688/0.06968, allocations: 6.339 MB / 0.9497 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.06968, allocations: 0 / 0.9497 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.633e-06/0.06969, allocations: 0 / 0.9497 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.19e-05/0.06976, allocations: 0 / 0.9497 GB, free: 13.74 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.006174/0.07593, allocations: 6.534 MB / 0.9561 GB, free: 7.137 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.07597, allocations: 8.031 kB / 0.9561 GB, free: 7.129 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003399/0.07937, allocations: 1.507 MB / 0.9575 GB, free: 5.617 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004884/0.08425, allocations: 3.145 MB / 0.9606 GB, free: 2.406 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003107/0.08456, allocations: 423.7 kB / 0.961 GB, free: 1.992 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008183/0.08538, allocations: 0.5589 MB / 0.9616 GB, free: 1.434 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008142/0.09353, allocations: 5.877 MB / 0.9673 GB, free: 10.89 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00012/0.09365, allocations: 20.02 kB / 0.9673 GB, free: 10.87 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004071/0.09405, allocations: 248.3 kB / 0.9676 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005386/0.09459, allocations: 430.8 kB / 0.968 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003196/0.09779, allocations: 1.69 MB / 0.9696 GB, free: 8.504 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0181/0.1159, allocations: 26.69 MB / 0.9957 GB, free: 13.08 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.1174, allocations: 1.275 MB / 0.9969 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000868/0.1182, allocations: 0.8238 MB / 0.9977 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.271e-05/0.1183, allocations: 38 kB / 0.9978 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.1184, allocations: 59.39 kB / 0.9978 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=209): time 4.228e-06/0.1184, allocations: 0 / 0.9978 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of matching and sorting (n=212): time 0.009628/0.128, allocations: 5.399 MB / 1.003 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.128, allocations: 81.41 kB / 1.003 GB, free: 5.352 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.1291, allocations: 1.671 MB / 1.005 GB, free: 3.645 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.054e-05/0.1292, allocations: 65.7 kB / 1.005 GB, free: 3.574 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001052/0.1303, allocations: 2.54 MB / 1.007 GB, free: 1.008 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004157/0.1307, allocations: 0.7902 MB / 1.008 GB, free: 216 kB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004941/0.1312, allocations: 499.8 kB / 1.009 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1313, allocations: 480.7 kB / 1.009 GB, free: 15.24 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004486/0.1317, allocations: 349 kB / 1.009 GB, free: 14.9 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009393/0.1327, allocations: 1.399 MB / 1.011 GB, free: 13.07 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/0.1345, allocations: 1.952 MB / 1.013 GB, free: 10.69 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.1345, allocations: 4 kB / 1.013 GB, free: 10.68 MB / 0.9792 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.002922/0.1374, allocations: 2.583 MB / 1.015 GB, free: 8.074 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.1374, allocations: 16 kB / 1.015 GB, free: 8.059 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.1374, allocations: 20 kB / 1.015 GB, free: 8.039 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002071/0.1395, allocations: 1.185 MB / 1.016 GB, free: 6.844 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007905/0.1403, allocations: 399.3 kB / 1.017 GB, free: 6.453 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009316/0.1496, allocations: 11.89 MB / 1.028 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008698/0.1505, allocations: 72 kB / 1.028 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.1506, allocations: 84 kB / 1.029 GB, free: 9.957 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009967/0.1516, allocations: 315.9 kB / 1.029 GB, free: 9.637 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002996/0.1519, allocations: 346.3 kB / 1.029 GB, free: 9.297 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/0.1543, allocations: 2.03 MB / 1.031 GB, free: 7.234 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.1543, allocations: 20 kB / 1.031 GB, free: 7.215 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.1543, allocations: 20 kB / 1.031 GB, free: 7.195 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.1543, allocations: 15.89 kB / 1.031 GB, free: 7.18 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00591/0.1602, allocations: 4.763 MB / 1.036 GB, free: 2.277 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.1602, allocations: 4 kB / 1.036 GB, free: 2.273 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000446/0.1607, allocations: 179.7 kB / 1.036 GB, free: 2.098 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00187/0.1626, allocations: 1.022 MB / 1.037 GB, free: 1.062 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.977e-05/0.1626, allocations: 40 kB / 1.037 GB, free: 1.023 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009051/0.1717, allocations: 11.84 MB / 1.049 GB, free: 4.727 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1717, allocations: 4 kB / 1.049 GB, free: 4.723 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002581/0.1743, allocations: 2.33 MB / 1.051 GB, free: 2.281 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006009/0.1749, allocations: 474.1 kB / 1.051 GB, free: 1.816 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.1751, allocations: 44 kB / 1.051 GB, free: 1.773 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005194/0.1756, allocations: 47.98 kB / 1.051 GB, free: 1.727 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003001/0.1759, allocations: 193.5 kB / 1.052 GB, free: 1.535 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.199e-05/0.176, allocations: 48.12 kB / 1.052 GB, free: 1.488 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006662/0.1766, allocations: 0.879 MB / 1.053 GB, free: 0.5938 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1766, allocations: 0 / 1.053 GB, free: 0.5938 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.4192/0.5958, allocations: 1.14 MB / 1.054 GB, free: 171.4 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004718/0.5963, allocations: 165.7 kB / 1.054 GB, free: 171.4 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003094/0.5994, allocations: 2.913 MB / 1.057 GB, free: 170.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.5994, allocations: 7.438 kB / 1.057 GB, free: 170.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00184/0.6012, allocations: 2.187 MB / 1.059 GB, free: 169.7 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/0.6033, allocations: 0.8236 MB / 1.06 GB, free: 169.6 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009279/0.6126, allocations: 8.404 MB / 1.068 GB, free: 166.3 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/0.6136, allocations: 1.4 MB / 1.069 GB, free: 166.1 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007709/0.6144, allocations: 316.6 kB / 1.069 GB, free: 166.1 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/0.6154, allocations: 0.7936 MB / 1.07 GB, free: 166 MB / 1.01 GB Notification: Performance of SimCode: time 1.042e-06/0.6154, allocations: 0 / 1.07 GB, free: 166 MB / 1.01 GB Notification: Performance of Templates: time 0.07692/0.6924, allocations: 56.5 MB / 1.125 GB, free: 154 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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: 7.028803739696741]