Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.000944/0.000944, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009542/0.0009542, allocations: 177 kB / 23.36 MB, free: 1.129 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.9555/0.9555, allocations: 177.1 MB / 203.8 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.402/2.402, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.608e-06/1.078e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.01409/0.0141, allocations: 18.39 MB / 0.8566 GB, free: 11.67 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01142/0.02552, allocations: 9.643 MB / 0.866 GB, free: 1.996 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.02667, allocations: 194.4 kB / 0.8662 GB, free: 1.805 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.0279, allocations: 0.7793 MB / 0.867 GB, free: 1.02 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.003646/0.03155, allocations: 2.593 MB / 0.8695 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.03356, allocations: 1.607 MB / 0.8711 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.005438/0.039, allocations: 7.72 MB / 0.8786 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004288/0.04328, allocations: 4.853 MB / 0.8833 GB, free: 52 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004697/0.04798, allocations: 4.92 MB / 0.8882 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002711/0.05069, allocations: 3.176 MB / 0.8913 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0005241/0.05122, allocations: 0.5859 MB / 0.8918 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008227/0.05204, allocations: 0.6833 MB / 0.8925 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001408/0.05345, allocations: 2.549 MB / 0.895 GB, free: 4.113 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001579/0.05503, allocations: 2.004 MB / 0.8969 GB, free: 2.105 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003227/0.05825, allocations: 4.834 MB / 0.9017 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.05826, allocations: 0 / 0.9017 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.232e-06/0.05826, allocations: 3.938 kB / 0.9017 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.133e-05/0.0583, allocations: 0 / 0.9017 GB, free: 13.25 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.004233/0.06253, allocations: 4.854 MB / 0.9064 GB, free: 8.336 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.06257, allocations: 12.62 kB / 0.9064 GB, free: 8.324 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002868/0.06543, allocations: 1.276 MB / 0.9077 GB, free: 7.047 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002503/0.06794, allocations: 2.392 MB / 0.91 GB, free: 4.559 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/0.06811, allocations: 316.8 kB / 0.9103 GB, free: 4.246 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003953/0.06851, allocations: 436.3 kB / 0.9107 GB, free: 3.82 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003427/0.07194, allocations: 4.153 MB / 0.9148 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.375e-05/0.07201, allocations: 27.75 kB / 0.9148 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002594/0.07227, allocations: 184 kB / 0.915 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00036/0.07263, allocations: 316.1 kB / 0.9153 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/0.07418, allocations: 1.13 MB / 0.9164 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01072/0.0849, allocations: 15.19 MB / 0.9312 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005207/0.08542, allocations: 491.4 kB / 0.9317 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004246/0.08584, allocations: 436.1 kB / 0.9321 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.849e-05/0.08591, allocations: 21.31 kB / 0.9321 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.08594, allocations: 55.86 kB / 0.9322 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=130): time 2.595e-06/0.08594, allocations: 0 / 0.9322 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of matching and sorting (n=133): time 0.006448/0.09239, allocations: 3.929 MB / 0.936 GB, free: 8.91 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.09242, allocations: 68.7 kB / 0.9361 GB, free: 8.828 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009285/0.09335, allocations: 1.54 MB / 0.9376 GB, free: 7.258 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.907e-05/0.09342, allocations: 45.7 kB / 0.9376 GB, free: 7.207 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007535/0.09417, allocations: 1.751 MB / 0.9393 GB, free: 5.438 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.0944, allocations: 491.7 kB / 0.9398 GB, free: 4.953 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002993/0.0947, allocations: 315.2 kB / 0.9401 GB, free: 4.641 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.067e-05/0.09476, allocations: 301.1 kB / 0.9404 GB, free: 4.344 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.09504, allocations: 211.9 kB / 0.9406 GB, free: 4.137 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005181/0.09556, allocations: 0.7681 MB / 0.9413 GB, free: 3.129 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009338/0.09649, allocations: 1.167 MB / 0.9425 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.0965, allocations: 12 kB / 0.9425 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.002064/0.09856, allocations: 1.629 MB / 0.9441 GB, free: 36 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.09859, allocations: 12 kB / 0.9441 GB, free: 24 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.0986, allocations: 20.34 kB / 0.9441 GB, free: 4 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002021/0.1006, allocations: 0.84 MB / 0.9449 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000704/0.1013, allocations: 347.5 kB / 0.9453 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007328/0.1087, allocations: 12.55 MB / 0.9575 GB, free: 1.359 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006062/0.1093, allocations: 55.98 kB / 0.9576 GB, free: 1.305 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.183e-05/0.1093, allocations: 64 kB / 0.9576 GB, free: 1.242 MB / 0.9167 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 (183): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004992/0.1098, allocations: 236 kB / 0.9579 GB, free: 1 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/0.11, allocations: 195.8 kB / 0.958 GB, free: 0.8086 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002009/0.1121, allocations: 1.36 MB / 0.9594 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.1121, allocations: 16 kB / 0.9594 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.1121, allocations: 8 kB / 0.9594 GB, free: 15.37 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1121, allocations: 7.969 kB / 0.9594 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003593/0.1157, allocations: 2.941 MB / 0.9623 GB, free: 12.31 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.1157, allocations: 4 kB / 0.9623 GB, free: 12.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004111/0.1161, allocations: 168.2 kB / 0.9624 GB, free: 12.14 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001762/0.1178, allocations: 0.801 MB / 0.9632 GB, free: 11.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.016e-05/0.1179, allocations: 28 kB / 0.9632 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00746/0.1254, allocations: 12.55 MB / 0.9755 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1254, allocations: 7.938 kB / 0.9755 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.1272, allocations: 1.49 MB / 0.977 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003853/0.1276, allocations: 302.4 kB / 0.9772 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.1277, allocations: 28 kB / 0.9773 GB, free: 11.92 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004264/0.1281, allocations: 31.98 kB / 0.9773 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.1283, allocations: 116.7 kB / 0.9774 GB, free: 11.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-05/0.1284, allocations: 39.98 kB / 0.9775 GB, free: 11.73 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005394/0.1289, allocations: 0.7662 MB / 0.9782 GB, free: 10.95 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1289, allocations: 0 / 0.9782 GB, free: 10.95 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001345/0.1303, allocations: 0.8477 MB / 0.979 GB, free: 10.1 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 (91): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004319/0.1307, allocations: 136.1 kB / 0.9792 GB, free: 9.957 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001996/0.1327, allocations: 2.273 MB / 0.9814 GB, free: 7.574 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.202e-05/0.1327, allocations: 25.81 kB / 0.9814 GB, free: 7.547 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001387/0.1341, allocations: 1.793 MB / 0.9832 GB, free: 5.637 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.1358, allocations: 0.8824 MB / 0.984 GB, free: 4.785 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006552/0.1423, allocations: 6.671 MB / 0.9905 GB, free: 14.02 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007899/0.1431, allocations: 1.047 MB / 0.9916 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0006288/0.1438, allocations: 304.3 kB / 0.9918 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/0.1449, allocations: 0.6708 MB / 0.9925 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of SimCode: time 7.41e-07/0.1449, allocations: 0 / 0.9925 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of Templates: time 0.05401/0.1989, allocations: 47.7 MB / 1.039 GB, free: 13.38 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.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.454363257624209]