Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001299/0.001299, allocations: 92.22 kB / 19.65 MB, free: 276 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.001617/0.001617, allocations: 169 kB / 23.02 MB, free: 1.551 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.9791/0.9791, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.023/2.023, allocations: 429.5 MB / 0.6733 GB, free: 4.02 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 0.8782 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.688e-05/1.854e-05, allocations: 5.656 kB / 0.8782 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.004381/0.004399, allocations: 4.902 MB / 0.883 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002377/0.006776, allocations: 1.713 MB / 0.8846 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000257/0.007033, allocations: 41.47 kB / 0.8847 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005188/0.007552, allocations: 206.5 kB / 0.8849 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005605/0.008112, allocations: 449.5 kB / 0.8853 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006761/0.008788, allocations: 397.8 kB / 0.8857 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001105/0.009893, allocations: 1.285 MB / 0.8869 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006148/0.01051, allocations: 0.5295 MB / 0.8874 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006262/0.01113, allocations: 0.6664 MB / 0.8881 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004569/0.01159, allocations: 482.7 kB / 0.8886 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.515e-05/0.01167, allocations: 68 kB / 0.8886 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002162/0.01188, allocations: 143.8 kB / 0.8888 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002038/0.01209, allocations: 335 kB / 0.8891 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002182/0.0123, allocations: 315.2 kB / 0.8894 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006103/0.01291, allocations: 0.7435 MB / 0.8901 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.01292, allocations: 0 / 0.8901 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.01e-07/0.01292, allocations: 0 / 0.8901 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.457e-06/0.01293, allocations: 4 kB / 0.8901 GB, free: 10.1 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001104/0.01403, allocations: 1.196 MB / 0.8913 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.01406, allocations: 8.031 kB / 0.8913 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009025/0.01497, allocations: 343.7 kB / 0.8916 GB, free: 8.523 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005842/0.01555, allocations: 0.5614 MB / 0.8922 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.01558, allocations: 49.67 kB / 0.8922 GB, free: 7.891 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.736e-05/0.01566, allocations: 76.3 kB / 0.8923 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007958/0.01646, allocations: 1.072 MB / 0.8933 GB, free: 6.539 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.01648, allocations: 8.078 kB / 0.8933 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.612e-05/0.01652, allocations: 36.36 kB / 0.8934 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.935e-05/0.01662, allocations: 89.19 kB / 0.8935 GB, free: 6.406 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000466/0.01709, allocations: 355.2 kB / 0.8938 GB, free: 6.059 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002928/0.02002, allocations: 5.709 MB / 0.8994 GB, free: 152 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004705/0.02049, allocations: 301.5 kB / 0.8997 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.02066, allocations: 129.1 kB / 0.8998 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.02069, allocations: 8.5 kB / 0.8998 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.02071, allocations: 45.88 kB / 0.8998 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 1.863e-06/0.02071, allocations: 0 / 0.8998 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of matching and sorting (n=48): time 0.00172/0.02243, allocations: 1.087 MB / 0.9009 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.02246, allocations: 55.91 kB / 0.9009 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/0.02281, allocations: 0.5413 MB / 0.9015 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.02284, allocations: 33.7 kB / 0.9015 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.02303, allocations: 478.5 kB / 0.902 GB, free: 13.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.416e-05/0.02313, allocations: 178.5 kB / 0.9021 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.02325, allocations: 132.2 kB / 0.9023 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.02339, allocations: 0.5391 MB / 0.9028 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.02357, allocations: 121.9 kB / 0.9029 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/0.02386, allocations: 424.6 kB / 0.9033 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004929/0.02435, allocations: 0.578 MB / 0.9039 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.02436, allocations: 4 kB / 0.9039 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009061/0.02526, allocations: 0.7454 MB / 0.9046 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.02528, allocations: 8 kB / 0.9046 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.02529, allocations: 8 kB / 0.9046 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007307/0.02602, allocations: 306.6 kB / 0.9049 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.02627, allocations: 127.8 kB / 0.905 GB, free: 9.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003443/0.02971, allocations: 7.603 MB / 0.9125 GB, free: 1.832 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.02995, allocations: 39.95 kB / 0.9125 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.02998, allocations: 39.88 kB / 0.9125 GB, free: 1.754 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0001402/0.03012, allocations: 200.5 kB / 0.9127 GB, free: 1.547 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.809e-05/0.0302, allocations: 83.58 kB / 0.9128 GB, free: 1.465 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006726/0.03087, allocations: 0.5455 MB / 0.9133 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.03087, allocations: 8 kB / 0.9133 GB, free: 0.8867 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.03088, allocations: 4 kB / 0.9134 GB, free: 0.8828 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.03088, allocations: 3.984 kB / 0.9134 GB, free: 0.8789 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.03207, allocations: 1.174 MB / 0.9145 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.03208, allocations: 0 / 0.9145 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.0322, allocations: 60.14 kB / 0.9146 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006205/0.03283, allocations: 294.4 kB / 0.9148 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.03285, allocations: 12 kB / 0.9149 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003404/0.03625, allocations: 7.603 MB / 0.9223 GB, free: 7.152 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.03626, allocations: 8 kB / 0.9223 GB, free: 7.145 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006993/0.03696, allocations: 0.7284 MB / 0.923 GB, free: 6.352 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.03709, allocations: 107.6 kB / 0.9231 GB, free: 6.246 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.03713, allocations: 15.98 kB / 0.9231 GB, free: 6.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.0373, allocations: 27.97 kB / 0.9231 GB, free: 6.203 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.889e-05/0.03737, allocations: 47.86 kB / 0.9232 GB, free: 6.156 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.03739, allocations: 12 kB / 0.9232 GB, free: 6.145 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002167/0.03761, allocations: 342.8 kB / 0.9235 GB, free: 5.812 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.03761, allocations: 4 kB / 0.9235 GB, free: 5.809 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004533/0.03806, allocations: 224 kB / 0.9237 GB, free: 5.59 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.076e-05/0.03815, allocations: 115.2 kB / 0.9239 GB, free: 5.469 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009701/0.03912, allocations: 1.187 MB / 0.925 GB, free: 4.215 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.03913, allocations: 4 kB / 0.925 GB, free: 4.211 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006054/0.03973, allocations: 0.9845 MB / 0.926 GB, free: 3.152 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005404/0.04027, allocations: 204.7 kB / 0.9262 GB, free: 2.953 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.0417, allocations: 1.259 MB / 0.9274 GB, free: 1.629 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.04184, allocations: 211.4 kB / 0.9276 GB, free: 1.402 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001854/0.04202, allocations: 109.5 kB / 0.9277 GB, free: 1.293 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.632e-05/0.0421, allocations: 40.5 kB / 0.9277 GB, free: 1.254 MB / 0.8855 GB Notification: Performance of SimCode: time 9.82e-07/0.0421, allocations: 0 / 0.9277 GB, free: 1.254 MB / 0.8855 GB Notification: Performance of Templates: time 0.01262/0.05472, allocations: 11.46 MB / 0.9389 GB, free: 6.023 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.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: 5.629946636967361]