Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001256/0.001256, 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.001031/0.001031, 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.951/0.951, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.331/2.331, allocations: 438.8 MB / 0.6827 GB, free: 13.57 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_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.677e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.01497/0.015, allocations: 19.84 MB / 0.858 GB, free: 10.23 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01496/0.02996, allocations: 10.28 MB / 0.868 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003592/0.03355, allocations: 210.4 kB / 0.8682 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.002669/0.03622, allocations: 0.8646 MB / 0.8691 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.006659/0.04288, allocations: 2.837 MB / 0.8718 GB, free: 11.99 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.003644/0.04652, allocations: 1.876 MB / 0.8737 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.01112/0.05764, allocations: 8.915 MB / 0.8824 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008435/0.06608, allocations: 5.695 MB / 0.8879 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009373/0.07545, allocations: 5.696 MB / 0.8935 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00566/0.08111, allocations: 3.811 MB / 0.8972 GB, free: 1.789 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.001898/0.08301, allocations: 0.707 MB / 0.8979 GB, free: 1.082 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002713/0.08572, allocations: 0.7967 MB / 0.8987 GB, free: 292 kB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.004046/0.08977, allocations: 3.044 MB / 0.9017 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.004418/0.09419, allocations: 2.382 MB / 0.904 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.005954/0.1001, allocations: 5.722 MB / 0.9096 GB, free: 5.109 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1001, allocations: 0 / 0.9096 GB, free: 5.109 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1001, allocations: 0 / 0.9096 GB, free: 5.109 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003284/0.1005, allocations: 0 / 0.9096 GB, free: 5.109 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.006941/0.1074, allocations: 5.629 MB / 0.9151 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.1075, allocations: 8.625 kB / 0.9151 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003541/0.111, allocations: 1.51 MB / 0.9166 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003456/0.1145, allocations: 2.706 MB / 0.9192 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/0.1146, allocations: 370.4 kB / 0.9195 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005238/0.1152, allocations: 0.4964 MB / 0.92 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00504/0.1202, allocations: 4.877 MB / 0.9248 GB, free: 4.922 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.794e-05/0.1203, allocations: 27.8 kB / 0.9248 GB, free: 4.895 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003171/0.1206, allocations: 216 kB / 0.925 GB, free: 4.684 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004462/0.1211, allocations: 365.7 kB / 0.9254 GB, free: 4.324 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/0.1231, allocations: 1.3 MB / 0.9266 GB, free: 3.008 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01533/0.1384, allocations: 16.59 MB / 0.9428 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008387/0.1392, allocations: 0.8165 MB / 0.9436 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009634/0.1402, allocations: 0.6083 MB / 0.9442 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.664e-05/0.1403, allocations: 26 kB / 0.9443 GB, free: 500 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.1403, allocations: 64.55 kB / 0.9443 GB, free: 424 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=171): time 3.617e-06/0.1403, allocations: 4 kB / 0.9443 GB, free: 420 kB / 0.9011 GB Notification: Performance of matching and sorting (n=174): time 0.01292/0.1532, allocations: 6.588 MB / 0.9508 GB, free: 9.809 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.1533, allocations: 69.41 kB / 0.9508 GB, free: 9.73 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.1547, allocations: 1.686 MB / 0.9525 GB, free: 8.023 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.889e-05/0.1548, allocations: 57.69 kB / 0.9525 GB, free: 7.961 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008914/0.1557, allocations: 1.998 MB / 0.9545 GB, free: 5.938 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000335/0.156, allocations: 0.6157 MB / 0.9551 GB, free: 5.316 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003699/0.1564, allocations: 359.7 kB / 0.9554 GB, free: 4.953 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.622e-05/0.1564, allocations: 317 kB / 0.9557 GB, free: 4.641 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003456/0.1568, allocations: 256.2 kB / 0.956 GB, free: 4.387 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006006/0.1574, allocations: 0.821 MB / 0.9568 GB, free: 3.316 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.1588, allocations: 1.32 MB / 0.9581 GB, free: 1.754 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/0.1588, allocations: 4 kB / 0.9581 GB, free: 1.75 MB / 0.9167 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.002863/0.1617, allocations: 1.99 MB / 0.96 GB, free: 15.74 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.1617, allocations: 20.28 kB / 0.96 GB, free: 15.72 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.1617, allocations: 20 kB / 0.96 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002762/0.1645, allocations: 1.207 MB / 0.9612 GB, free: 14.48 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007322/0.1652, allocations: 335.5 kB / 0.9615 GB, free: 14.16 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008001/0.1732, allocations: 7.626 MB / 0.969 GB, free: 6.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.1745, allocations: 63.98 kB / 0.9691 GB, free: 6.168 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.1746, allocations: 68 kB / 0.9691 GB, free: 6.102 MB / 0.9323 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 (187): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(10,28,71.0%), (6,24,77.8%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001052/0.1757, allocations: 232.1 kB / 0.9693 GB, free: 5.863 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003079/0.176, allocations: 243.7 kB / 0.9696 GB, free: 5.625 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00244/0.1784, allocations: 1.759 MB / 0.9713 GB, free: 3.836 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.1784, allocations: 23.94 kB / 0.9713 GB, free: 3.812 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.089e-05/0.1784, allocations: 15.98 kB / 0.9713 GB, free: 3.797 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.1784, allocations: 7.969 kB / 0.9713 GB, free: 3.789 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006129/0.1846, allocations: 3.618 MB / 0.9749 GB, free: 80 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.906e-06/0.1846, allocations: 8.453 kB / 0.9749 GB, free: 72 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000419/0.185, allocations: 163.8 kB / 0.975 GB, free: 15.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002653/0.1877, allocations: 1.182 MB / 0.9762 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.1878, allocations: 35.94 kB / 0.9762 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007774/0.1955, allocations: 7.599 MB / 0.9836 GB, free: 6.793 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.932e-06/0.1955, allocations: 11.92 kB / 0.9837 GB, free: 6.781 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002618/0.1982, allocations: 1.871 MB / 0.9855 GB, free: 4.832 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007891/0.199, allocations: 370.1 kB / 0.9858 GB, free: 4.469 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/0.1991, allocations: 36 kB / 0.9859 GB, free: 4.434 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005198/0.1997, allocations: 39.98 kB / 0.9859 GB, free: 4.395 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003069/0.2, allocations: 160.9 kB / 0.9861 GB, free: 4.238 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.844e-05/0.2, allocations: 36 kB / 0.9861 GB, free: 4.203 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007111/0.2008, allocations: 0.8469 MB / 0.9869 GB, free: 3.344 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2008, allocations: 0 / 0.9869 GB, free: 3.344 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002185/0.2029, allocations: 1.062 MB / 0.988 GB, free: 2.281 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002205/0.2032, allocations: 136.2 kB / 0.9881 GB, free: 2.137 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002724/0.2059, allocations: 2.139 MB / 0.9902 GB, free: 15.96 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.77e-05/0.2059, allocations: 34.81 kB / 0.9902 GB, free: 15.93 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00169/0.2076, allocations: 1.577 MB / 0.9917 GB, free: 14.31 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/0.2099, allocations: 0.9749 MB / 0.9927 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/0.2225, allocations: 7.961 MB / 1 GB, free: 5.297 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/0.2239, allocations: 1.246 MB / 1.002 GB, free: 4.023 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0013/0.2252, allocations: 331.1 kB / 1.002 GB, free: 3.695 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00152/0.2267, allocations: 0.7488 MB / 1.003 GB, free: 2.93 MB / 0.9636 GB Notification: Performance of SimCode: time 1.553e-06/0.2267, allocations: 0 / 1.003 GB, free: 2.93 MB / 0.9636 GB Notification: Performance of Templates: time 0.4345/0.6612, allocations: 55.6 MB / 1.057 GB, free: 181.8 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.743389314971864]