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.001049/0.001049, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001076/0.001076, allocations: 181 kB / 23.36 MB, free: 1.133 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.9491/0.9491, allocations: 177.2 MB / 203.8 MB, free: 5.48 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.374/2.374, allocations: 438.8 MB / 0.6826 GB, free: 13.55 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_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.102e-06/1.102e-06, allocations: 0 / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.599e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.01522/0.01523, allocations: 20.97 MB / 0.8591 GB, free: 9.051 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01004/0.02528, allocations: 6.342 MB / 0.8653 GB, free: 2.688 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001696/0.02697, allocations: 206.5 kB / 0.8655 GB, free: 2.484 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.02844, allocations: 0.9229 MB / 0.8664 GB, free: 1.555 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.00263/0.03107, allocations: 2.042 MB / 0.8684 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.03382, allocations: 1.868 MB / 0.8702 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.007036/0.04086, allocations: 9.325 MB / 0.8793 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005884/0.04674, allocations: 6.545 MB / 0.8857 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005271/0.05201, allocations: 5.747 MB / 0.8913 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004462/0.05647, allocations: 4.404 MB / 0.8956 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0008518/0.05733, allocations: 0.8203 MB / 0.8964 GB, free: 2.582 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.05844, allocations: 0.9099 MB / 0.8973 GB, free: 1.672 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.002304/0.06075, allocations: 3.41 MB / 0.9007 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.002353/0.0631, allocations: 2.581 MB / 0.9032 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.00514/0.06824, allocations: 6.338 MB / 0.9094 GB, free: 5.312 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.06825, allocations: 3.984 kB / 0.9094 GB, free: 5.309 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.533e-06/0.06825, allocations: 0 / 0.9094 GB, free: 5.309 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000121/0.06837, allocations: 0 / 0.9094 GB, free: 5.309 MB / 0.8698 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.006316/0.07469, allocations: 5.983 MB / 0.9152 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.07472, allocations: 8.625 kB / 0.9152 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002667/0.07739, allocations: 1.331 MB / 0.9165 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003015/0.0804, allocations: 2.803 MB / 0.9193 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002028/0.08061, allocations: 419.8 kB / 0.9197 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000694/0.0813, allocations: 0.555 MB / 0.9202 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005179/0.08648, allocations: 5.733 MB / 0.9258 GB, free: 3.801 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.834e-05/0.08657, allocations: 23.95 kB / 0.9258 GB, free: 3.777 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003797/0.08695, allocations: 244.3 kB / 0.9261 GB, free: 3.539 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003593/0.08731, allocations: 430.8 kB / 0.9265 GB, free: 3.117 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/0.08966, allocations: 1.476 MB / 0.9279 GB, free: 1.633 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01534/0.105, allocations: 20.22 MB / 0.9477 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/0.1063, allocations: 1.234 MB / 0.9489 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007663/0.1071, allocations: 0.7313 MB / 0.9496 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.498e-05/0.1072, allocations: 34 kB / 0.9496 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.1072, allocations: 72.48 kB / 0.9497 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=209): time 3.066e-06/0.1072, allocations: 4 kB / 0.9497 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=212): time 0.009217/0.1164, allocations: 4.968 MB / 0.9545 GB, free: 5.719 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.1165, allocations: 73.41 kB / 0.9546 GB, free: 5.637 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.1175, allocations: 1.567 MB / 0.9561 GB, free: 4.035 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.391e-05/0.1176, allocations: 61.7 kB / 0.9562 GB, free: 3.969 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008723/0.1185, allocations: 2.203 MB / 0.9583 GB, free: 1.742 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003728/0.1188, allocations: 0.7551 MB / 0.9591 GB, free: 0.9805 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006038/0.1194, allocations: 457.2 kB / 0.9595 GB, free: 0.5273 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.361e-05/0.1195, allocations: 305.1 kB / 0.9598 GB, free: 232 kB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003891/0.1199, allocations: 285.2 kB / 0.9601 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007085/0.1206, allocations: 1.018 MB / 0.9611 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.1219, allocations: 1.574 MB / 0.9626 GB, free: 12.73 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.1219, allocations: 8 kB / 0.9626 GB, free: 12.72 MB / 0.9323 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.002567/0.1245, allocations: 2.119 MB / 0.9647 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.1245, allocations: 12 kB / 0.9647 GB, free: 10.56 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/0.1245, allocations: 24 kB / 0.9647 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002061/0.1266, allocations: 1.058 MB / 0.9658 GB, free: 9.473 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008671/0.1275, allocations: 435.3 kB / 0.9662 GB, free: 9.047 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007946/0.1354, allocations: 9.312 MB / 0.9753 GB, free: 15.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007888/0.1362, allocations: 76 kB / 0.9753 GB, free: 15.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.1363, allocations: 83.98 kB / 0.9754 GB, free: 15.2 MB / 0.948 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.0009849/0.1373, allocations: 275.9 kB / 0.9757 GB, free: 14.92 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002671/0.1376, allocations: 247.7 kB / 0.9759 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002302/0.1399, allocations: 1.762 MB / 0.9776 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.1399, allocations: 20 kB / 0.9777 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.1399, allocations: 20 kB / 0.9777 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.1399, allocations: 15.89 kB / 0.9777 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005224/0.1451, allocations: 3.888 MB / 0.9815 GB, free: 8.836 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.1451, allocations: 4.562 kB / 0.9815 GB, free: 8.832 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005292/0.1457, allocations: 199.7 kB / 0.9817 GB, free: 8.637 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001815/0.1475, allocations: 0.9983 MB / 0.9827 GB, free: 7.625 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-05/0.1476, allocations: 40 kB / 0.9827 GB, free: 7.586 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007896/0.1555, allocations: 9.289 MB / 0.9918 GB, free: 13.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1555, allocations: 4.094 kB / 0.9918 GB, free: 13.91 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002227/0.1577, allocations: 1.923 MB / 0.9937 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005498/0.1582, allocations: 394.1 kB / 0.994 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.1584, allocations: 51.94 kB / 0.9941 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004888/0.1589, allocations: 47.94 kB / 0.9941 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002966/0.1592, allocations: 185.5 kB / 0.9943 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.33e-05/0.1593, allocations: 48 kB / 0.9943 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0005535/0.1598, allocations: 0.7662 MB / 0.9951 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.1598, allocations: 0 / 0.9951 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00229/0.1621, allocations: 1.137 MB / 0.9962 GB, free: 9.254 MB / 0.9636 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.0002505/0.1624, allocations: 140.2 kB / 0.9963 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002629/0.165, allocations: 2.548 MB / 0.9988 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.335e-05/0.165, allocations: 33.81 kB / 0.9989 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001732/0.1668, allocations: 1.876 MB / 1.001 GB, free: 4.535 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/0.1684, allocations: 0.8216 MB / 1.001 GB, free: 3.73 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01724/0.1856, allocations: 8.738 MB / 1.01 GB, free: 10.86 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001844/0.1875, allocations: 1.4 MB / 1.011 GB, free: 9.434 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001645/0.1891, allocations: 315.4 kB / 1.012 GB, free: 9.121 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001774/0.1909, allocations: 0.7021 MB / 1.012 GB, free: 8.402 MB / 0.9792 GB Notification: Performance of SimCode: time 1.964e-06/0.1909, allocations: 0 / 1.012 GB, free: 8.402 MB / 0.9792 GB Notification: Performance of Templates: time 0.4242/0.6151, allocations: 55.55 MB / 1.067 GB, free: 169.8 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 -s gbode -gbm=radauIIA3 -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: 6.676912123803049]