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.000916/0.000916, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009607/0.0009607, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.9572/0.9572, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.074/2.074, allocations: 429.5 MB / 0.6732 GB, free: 4.023 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_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.462e-06/1.462e-06, allocations: 0 / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.811e-05, allocations: 6.109 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.01574/0.01577, allocations: 20.39 MB / 0.8981 GB, free: 1.832 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01311/0.02887, allocations: 10.12 MB / 0.908 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003037/0.03191, allocations: 210.4 kB / 0.9082 GB, free: 7.484 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.00237/0.03428, allocations: 0.853 MB / 0.909 GB, free: 6.625 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.006994/0.04127, allocations: 2.814 MB / 0.9118 GB, free: 3.793 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003457/0.04473, allocations: 1.825 MB / 0.9136 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.00945/0.05418, allocations: 8.899 MB / 0.9222 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00765/0.06183, allocations: 5.386 MB / 0.9275 GB, free: 3.52 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008182/0.07001, allocations: 5.661 MB / 0.933 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005535/0.07555, allocations: 3.905 MB / 0.9368 GB, free: 9.934 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.00187/0.07742, allocations: 0.7109 MB / 0.9375 GB, free: 9.223 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002246/0.07966, allocations: 0.8122 MB / 0.9383 GB, free: 8.41 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.002958/0.08262, allocations: 3.055 MB / 0.9413 GB, free: 5.348 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.005139/0.08776, allocations: 2.39 MB / 0.9436 GB, free: 2.953 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.006594/0.09435, allocations: 5.753 MB / 0.9493 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.09436, allocations: 4 kB / 0.9493 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.923e-06/0.09436, allocations: 0 / 0.9493 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002655/0.09463, allocations: 0 / 0.9493 GB, free: 13.18 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.008932/0.1036, allocations: 6.157 MB / 0.9553 GB, free: 6.953 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.1036, allocations: 12.03 kB / 0.9553 GB, free: 6.941 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004349/0.108, allocations: 1.803 MB / 0.9571 GB, free: 5.133 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004801/0.1128, allocations: 3.425 MB / 0.9604 GB, free: 1.621 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002101/0.113, allocations: 382.4 kB / 0.9608 GB, free: 1.246 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006382/0.1136, allocations: 0.5003 MB / 0.9613 GB, free: 0.7461 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007036/0.1206, allocations: 5.307 MB / 0.9664 GB, free: 10.91 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/0.1207, allocations: 35.7 kB / 0.9665 GB, free: 10.88 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003747/0.1211, allocations: 216 kB / 0.9667 GB, free: 10.67 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006187/0.1217, allocations: 441.6 kB / 0.9671 GB, free: 10.23 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003974/0.1257, allocations: 1.899 MB / 0.969 GB, free: 8.32 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02103/0.1467, allocations: 22.97 MB / 0.9914 GB, free: 0.7773 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.148, allocations: 0.9253 MB / 0.9923 GB, free: 15.84 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.149, allocations: 0.783 MB / 0.9931 GB, free: 15.07 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.1491, allocations: 30 kB / 0.9931 GB, free: 15.04 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.1491, allocations: 59.39 kB / 0.9931 GB, free: 14.97 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=171): time 4.759e-06/0.1491, allocations: 0 / 0.9931 GB, free: 14.97 MB / 0.9636 GB Notification: Performance of matching and sorting (n=276): time 0.01576/0.1649, allocations: 8.99 MB / 1.002 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.165, allocations: 81.58 kB / 1.002 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.1666, allocations: 1.853 MB / 1.004 GB, free: 3.977 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.1667, allocations: 73.7 kB / 1.004 GB, free: 3.898 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.1678, allocations: 2.412 MB / 1.006 GB, free: 1.461 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000597/0.1684, allocations: 1.003 MB / 1.007 GB, free: 460 kB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006243/0.169, allocations: 0.5249 MB / 1.008 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1691, allocations: 476.8 kB / 1.008 GB, free: 15.44 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.1702, allocations: 0.6577 MB / 1.009 GB, free: 14.78 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.1717, allocations: 1.55 MB / 1.01 GB, free: 12.9 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002642/0.1743, allocations: 2.432 MB / 1.013 GB, free: 10.11 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.1743, allocations: 8 kB / 1.013 GB, free: 10.1 MB / 0.9792 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.006734/0.181, allocations: 4.238 MB / 1.017 GB, free: 5.785 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/0.1811, allocations: 12 kB / 1.017 GB, free: 5.773 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/0.1811, allocations: 20 kB / 1.017 GB, free: 5.754 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006771/0.1879, allocations: 2.603 MB / 1.019 GB, free: 3.129 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.189, allocations: 407.3 kB / 1.02 GB, free: 2.73 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02126/0.2103, allocations: 20.46 MB / 1.04 GB, free: 13.53 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/0.2122, allocations: 163.8 kB / 1.04 GB, free: 13.37 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00024/0.2124, allocations: 108 kB / 1.04 GB, free: 13.27 MB / 1.01 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001221/0.2136, allocations: 323.9 kB / 1.04 GB, free: 12.94 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005499/0.2142, allocations: 402.1 kB / 1.041 GB, free: 12.54 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006322/0.2205, allocations: 3.868 MB / 1.045 GB, free: 8.586 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.2205, allocations: 28 kB / 1.045 GB, free: 8.559 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.126e-05/0.2206, allocations: 28 kB / 1.045 GB, free: 8.531 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/0.2206, allocations: 15.89 kB / 1.045 GB, free: 8.516 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01262/0.2332, allocations: 7.95 MB / 1.052 GB, free: 392 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.2332, allocations: 8 kB / 1.052 GB, free: 384 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005445/0.2338, allocations: 231.6 kB / 1.053 GB, free: 152 kB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4126/0.6464, allocations: 2.389 MB / 1.055 GB, free: 164.2 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003422/0.6467, allocations: 49.81 kB / 1.055 GB, free: 164.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01807/0.6648, allocations: 20.37 MB / 1.075 GB, free: 153.8 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.6648, allocations: 12.86 kB / 1.075 GB, free: 153.8 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005908/0.6707, allocations: 3.909 MB / 1.079 GB, free: 152.9 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/0.6719, allocations: 0.6507 MB / 1.079 GB, free: 152.9 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002494/0.6722, allocations: 57.55 kB / 1.079 GB, free: 152.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000897/0.6731, allocations: 165.6 kB / 1.08 GB, free: 152.9 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007973/0.6739, allocations: 271.7 kB / 1.08 GB, free: 152.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.674, allocations: 73.69 kB / 1.08 GB, free: 152.9 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001069/0.6751, allocations: 1.073 MB / 1.081 GB, free: 152.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6751, allocations: 0 / 1.081 GB, free: 152.7 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003244/0.6783, allocations: 1.371 MB / 1.082 GB, free: 152.7 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.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.0003036/0.6786, allocations: 185.7 kB / 1.082 GB, free: 152.6 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.006635/0.6853, allocations: 4.618 MB / 1.087 GB, free: 151.3 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.6853, allocations: 4.188 kB / 1.087 GB, free: 151.3 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.004581/0.6899, allocations: 3.587 MB / 1.09 GB, free: 149.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003278/0.6931, allocations: 1.014 MB / 1.091 GB, free: 149.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/0.7072, allocations: 8.861 MB / 1.1 GB, free: 146.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002091/0.7093, allocations: 1.418 MB / 1.101 GB, free: 146.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00161/0.7109, allocations: 476 kB / 1.102 GB, free: 146.1 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003533/0.7112, allocations: 146.8 kB / 1.102 GB, free: 146 MB / 1.01 GB Notification: Performance of SimCode: time 1.914e-06/0.7112, allocations: 0 / 1.102 GB, free: 146 MB / 1.01 GB Notification: Performance of Templates: time 0.08826/0.7995, allocations: 76.64 MB / 1.177 GB, free: 110.3 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: 7.3492333851754665]