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.0009533/0.0009533, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001313/0.001313, allocations: 173 kB / 23.49 MB, free: 1.059 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.9177/0.9177, allocations: 177.1 MB / 203.8 MB, free: 5.625 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 1.998/1.998, allocations: 429.5 MB / 0.6736 GB, free: 4.047 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.272e-06/1.272e-06, allocations: 0 / 0.8782 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.444e-05/1.571e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005824/0.00584, allocations: 6.927 MB / 0.885 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003488/0.009329, allocations: 3.135 MB / 0.888 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002976/0.009626, allocations: 40.59 kB / 0.8881 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.01087, allocations: 0.9739 MB / 0.889 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0007267/0.0116, allocations: 0.5356 MB / 0.8895 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006126/0.01221, allocations: 450.8 kB / 0.89 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00113/0.01334, allocations: 1.271 MB / 0.8912 GB, free: 9.297 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005546/0.0139, allocations: 0.5295 MB / 0.8917 GB, free: 8.762 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005284/0.01442, allocations: 0.6702 MB / 0.8924 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004257/0.01485, allocations: 482.6 kB / 0.8928 GB, free: 7.617 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.936e-05/0.01492, allocations: 72 kB / 0.8929 GB, free: 7.547 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003652/0.01528, allocations: 347.1 kB / 0.8932 GB, free: 7.207 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002069/0.01549, allocations: 339 kB / 0.8936 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002185/0.01571, allocations: 311.2 kB / 0.8938 GB, free: 6.57 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006839/0.01639, allocations: 0.8721 MB / 0.8947 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.0164, allocations: 0 / 0.8947 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.31e-07/0.0164, allocations: 0 / 0.8947 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.01641, allocations: 0 / 0.8947 GB, free: 5.695 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.01751, allocations: 1.219 MB / 0.8959 GB, free: 4.438 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.01754, allocations: 8.031 kB / 0.8959 GB, free: 4.43 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.01855, allocations: 351.7 kB / 0.8962 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005666/0.01911, allocations: 0.5575 MB / 0.8968 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.01914, allocations: 53.67 kB / 0.8968 GB, free: 3.453 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.084e-05/0.01921, allocations: 64.36 kB / 0.8969 GB, free: 3.391 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.02024, allocations: 1.084 MB / 0.8979 GB, free: 2.102 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.02026, allocations: 8.141 kB / 0.898 GB, free: 2.094 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.66e-05/0.02031, allocations: 32.36 kB / 0.898 GB, free: 2.062 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.837e-05/0.02041, allocations: 89.19 kB / 0.8981 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004618/0.02087, allocations: 359.1 kB / 0.8984 GB, free: 1.621 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002755/0.02362, allocations: 5.721 MB / 0.904 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004594/0.02408, allocations: 284.8 kB / 0.9043 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.02426, allocations: 137.1 kB / 0.9044 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.02429, allocations: 8.5 kB / 0.9044 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002671/0.02455, allocations: 45.89 kB / 0.9045 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 1.493e-06/0.02455, allocations: 0 / 0.9045 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of matching and sorting (n=48): time 0.001726/0.02628, allocations: 1.083 MB / 0.9055 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.02631, allocations: 59.91 kB / 0.9056 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/0.02665, allocations: 0.5297 MB / 0.9061 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.02668, allocations: 37.7 kB / 0.9061 GB, free: 9.445 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.02687, allocations: 474.5 kB / 0.9066 GB, free: 8.973 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.642e-05/0.02695, allocations: 182.5 kB / 0.9068 GB, free: 8.793 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.02708, allocations: 128.2 kB / 0.9069 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.02721, allocations: 0.5469 MB / 0.9074 GB, free: 8.098 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.02737, allocations: 113.9 kB / 0.9075 GB, free: 7.988 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/0.02765, allocations: 436.6 kB / 0.9079 GB, free: 7.43 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004794/0.02813, allocations: 0.5741 MB / 0.9085 GB, free: 6.723 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.02814, allocations: 0 / 0.9085 GB, free: 6.723 MB / 0.8698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008592/0.029, allocations: 0.7455 MB / 0.9092 GB, free: 5.953 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.02901, allocations: 9.875 kB / 0.9092 GB, free: 5.945 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.02902, allocations: 8 kB / 0.9092 GB, free: 5.938 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007181/0.02974, allocations: 302.6 kB / 0.9095 GB, free: 5.625 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.02999, allocations: 131.7 kB / 0.9097 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003628/0.03362, allocations: 7.607 MB / 0.9171 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.03386, allocations: 35.97 kB / 0.9171 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.03389, allocations: 35.94 kB / 0.9171 GB, free: 13.32 MB / 0.8855 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.0001428/0.03403, allocations: 200.4 kB / 0.9173 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-05/0.03411, allocations: 87.58 kB / 0.9174 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006812/0.03479, allocations: 0.5456 MB / 0.918 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.03479, allocations: 4 kB / 0.918 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.03479, allocations: 12 kB / 0.918 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.0348, allocations: 3.984 kB / 0.918 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.03621, allocations: 1.174 MB / 0.9191 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.03621, allocations: 3.984 kB / 0.9191 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.03634, allocations: 60.08 kB / 0.9192 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006205/0.03696, allocations: 302.4 kB / 0.9195 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.03698, allocations: 12 kB / 0.9195 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003402/0.04039, allocations: 7.596 MB / 0.9269 GB, free: 2.715 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.04039, allocations: 0 / 0.9269 GB, free: 2.715 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000709/0.0411, allocations: 0.7324 MB / 0.9276 GB, free: 1.918 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.04122, allocations: 115.5 kB / 0.9277 GB, free: 1.805 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.04126, allocations: 8.188 kB / 0.9277 GB, free: 1.797 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.04144, allocations: 31.97 kB / 0.9278 GB, free: 1.766 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/0.0415, allocations: 51.8 kB / 0.9278 GB, free: 1.715 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.04152, allocations: 15.98 kB / 0.9278 GB, free: 1.699 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002112/0.04173, allocations: 342.8 kB / 0.9282 GB, free: 1.367 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.1e-08/0.04173, allocations: 0 / 0.9282 GB, free: 1.367 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004573/0.04219, allocations: 228 kB / 0.9284 GB, free: 1.145 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 0.0001089/0.0423, allocations: 115.2 kB / 0.9285 GB, free: 1.023 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009683/0.04327, allocations: 1.183 MB / 0.9296 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.04327, allocations: 0 / 0.9296 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005881/0.04386, allocations: 0.9728 MB / 0.9306 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005461/0.04441, allocations: 198.8 kB / 0.9308 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.04609, allocations: 1.281 MB / 0.932 GB, free: 13.19 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.04622, allocations: 215.4 kB / 0.9322 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001869/0.04641, allocations: 93.53 kB / 0.9323 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.577e-05/0.04648, allocations: 44.5 kB / 0.9324 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of SimCode: time 7.72e-07/0.04648, allocations: 0 / 0.9324 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of Templates: time 0.01212/0.0586, allocations: 11.45 MB / 0.9435 GB, free: 1.605 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.342344318982214]