Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.TRoo|con.port_a.m_flow|con.mAir_flow|con.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.TRoo|con.port_a.m_flow|con.mAir_flow|con.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 115.2 kB / 16.42 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 183.9 kB / 17.35 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.529/2.529, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 67.89 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7477/0.7492, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03963/0.7888, allocations: 41.99 MB / 1.208 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01208/0.801, allocations: 8.881 MB / 1.217 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.8023, allocations: 39.75 kB / 1.217 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.8039, allocations: 0.5902 MB / 1.218 GB, free: 176 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003061/0.807, allocations: 1.338 MB / 1.219 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002756/0.8097, allocations: 1.192 MB / 1.22 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002945/0.8127, allocations: 2.692 MB / 1.223 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00137/0.8141, allocations: 0.9182 MB / 1.224 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002398/0.8165, allocations: 1.077 MB / 1.225 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.8177, allocations: 0.7507 MB / 1.225 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002649/0.818, allocations: 120 kB / 1.226 GB, free: 8.059 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002361/0.8203, allocations: 1.185 MB / 1.227 GB, free: 6.871 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003771/0.8207, allocations: 327 kB / 1.227 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0009246/0.8217, allocations: 0.6454 MB / 1.228 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003327/0.825, allocations: 2.355 MB / 1.23 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.825, allocations: 0 / 1.23 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.422e-06/0.825, allocations: 0 / 1.23 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.74e-05/0.8251, allocations: 4 kB / 1.23 GB, free: 3.535 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.004603/0.8297, allocations: 1.77 MB / 1.232 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/0.8298, allocations: 8.625 kB / 1.232 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006249/0.8304, allocations: 140.1 kB / 1.232 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00275/0.8332, allocations: 1.098 MB / 1.233 GB, free: 392 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.902e-05/0.8332, allocations: 57.31 kB / 1.233 GB, free: 336 kB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/0.8334, allocations: 71.94 kB / 1.233 GB, free: 264 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.8353, allocations: 0.798 MB / 1.234 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/0.8354, allocations: 0 / 1.234 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.476e-05/0.8355, allocations: 31.98 kB / 1.234 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-05/0.8355, allocations: 23.94 kB / 1.234 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.8368, allocations: 0.6063 MB / 1.234 GB, free: 14.78 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005088/0.8419, allocations: 3.209 MB / 1.238 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008502/0.8428, allocations: 463.9 kB / 1.238 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004974/0.8433, allocations: 318.3 kB / 1.238 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008059/0.8441, allocations: 0.7674 MB / 1.239 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.8442, allocations: 34.56 kB / 1.239 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=38): time 2.094e-06/0.8442, allocations: 0 / 1.239 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of matching and sorting (n=38): time 0.001751/0.8459, allocations: 1.013 MB / 1.24 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.846, allocations: 140.5 kB / 1.24 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/0.8475, allocations: 1.079 MB / 1.241 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.813e-05/0.8476, allocations: 37.7 kB / 1.241 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003869/0.848, allocations: 469.1 kB / 1.242 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.8481, allocations: 142.8 kB / 1.242 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.8483, allocations: 114.1 kB / 1.242 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.8485, allocations: 330 kB / 1.242 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005203/0.849, allocations: 350.6 kB / 1.243 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000602/0.8496, allocations: 454.7 kB / 1.243 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.8508, allocations: 0.964 MB / 1.244 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.8508, allocations: 7.938 kB / 1.244 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001697/0.8525, allocations: 1.104 MB / 1.245 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.8526, allocations: 186.4 kB / 1.245 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.8526, allocations: 8 kB / 1.245 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.8527, allocations: 4 kB / 1.245 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.853, allocations: 87.89 kB / 1.245 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.8531, allocations: 4 kB / 1.245 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006045/0.8537, allocations: 79.48 kB / 1.245 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.494e-05/0.8537, allocations: 27.98 kB / 1.245 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008139/0.8546, allocations: 0.5907 MB / 1.246 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000615/0.8552, allocations: 450.7 kB / 1.246 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001158/0.8564, allocations: 0.9671 MB / 1.247 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.785e-06/0.8564, allocations: 4 kB / 1.247 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.001636/0.858, allocations: 1.102 MB / 1.248 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.8581, allocations: 186.2 kB / 1.249 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.8582, allocations: 8 kB / 1.249 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.955e-06/0.8582, allocations: 4 kB / 1.249 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003563/0.8585, allocations: 96.05 kB / 1.249 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.8585, allocations: 4 kB / 1.249 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005737/0.8591, allocations: 55.75 kB / 1.249 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.003e-05/0.8592, allocations: 23.98 kB / 1.249 GB, free: 15.14 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002372/0.8594, allocations: 301.2 kB / 1.249 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/0.8597, allocations: 107.3 kB / 1.249 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.8612, allocations: 0.9222 MB / 1.25 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001144/0.8623, allocations: 0.9756 MB / 1.251 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.8624, allocations: 4 kB / 1.251 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004061/0.8628, allocations: 280.2 kB / 1.251 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.8629, allocations: 12 kB / 1.251 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004555/0.8634, allocations: 31.91 kB / 1.251 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.8636, allocations: 59.8 kB / 1.251 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001473/0.8651, allocations: 1.034 MB / 1.252 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001918/0.867, allocations: 1.45 MB / 1.254 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005153/0.8675, allocations: 345.8 kB / 1.254 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001058/0.8686, allocations: 0.7566 MB / 1.255 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of Backend: time 5.31e-07/0.8686, allocations: 4 kB / 1.255 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003565/0.8722, allocations: 2.106 MB / 1.257 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of SimCode: time 0.003996/0.8762, allocations: 2.653 MB / 1.26 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of Templates: time 0.04109/0.9173, allocations: 26.21 MB / 1.285 GB, free: 9.727 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches