Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.HeatTransfer.Convection.Examples.Exterior,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor.hF|wes.hF|sou.hF|eas.hF",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior") translateModel(Buildings.HeatTransfer.Convection.Examples.Exterior,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor.hF|wes.hF|sou.hF|eas.hF",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009516/0.009516, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.001574/0.001574, allocations: 198.4 kB / 16.68 MB, free: 5.938 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.556/2.556, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 67.89 kB / 1.054 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9532/0.9544, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.003703/0.9581, allocations: 2.712 MB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002836/0.961, allocations: 1.752 MB / 1.212 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.9611, allocations: 4 kB / 1.212 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.9613, allocations: 51.45 kB / 1.212 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004489/0.9618, allocations: 142.9 kB / 1.212 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008076/0.9626, allocations: 379 kB / 1.213 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005196/0.9631, allocations: 498.5 kB / 1.213 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002786/0.9634, allocations: 152.8 kB / 1.213 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.9636, allocations: 187.3 kB / 1.213 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.9638, allocations: 183.2 kB / 1.214 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.129e-05/0.9639, allocations: 31.94 kB / 1.214 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006186/0.9645, allocations: 451.5 kB / 1.214 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.557e-05/0.9646, allocations: 71.69 kB / 1.214 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.9647, allocations: 195 kB / 1.214 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005578/0.9653, allocations: 0.5393 MB / 1.215 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.9653, allocations: 0 / 1.215 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9653, allocations: 0 / 1.215 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.9653, allocations: 0 / 1.215 GB, free: 6.297 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001037/0.9664, allocations: 0.7093 MB / 1.216 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.9664, allocations: 8.031 kB / 1.216 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007765/0.9672, allocations: 116.3 kB / 1.216 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004557/0.9677, allocations: 311.3 kB / 1.216 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.9677, allocations: 21.03 kB / 1.216 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/0.9678, allocations: 36.31 kB / 1.216 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006909/0.9685, allocations: 318.3 kB / 1.216 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.9685, allocations: 4 kB / 1.216 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.9685, allocations: 12 kB / 1.216 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.9685, allocations: 8 kB / 1.216 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007955/0.9693, allocations: 290.4 kB / 1.217 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.9708, allocations: 0.8929 MB / 1.217 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000881/0.9717, allocations: 298.4 kB / 1.218 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003566/0.9721, allocations: 124.8 kB / 1.218 GB, free: 3.023 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/0.9723, allocations: 93.48 kB / 1.218 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.9723, allocations: 30.56 kB / 1.218 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=25): time 1.743e-06/0.9723, allocations: 0 / 1.218 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25): time 0.001261/0.9736, allocations: 393.7 kB / 1.218 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.9736, allocations: 55.41 kB / 1.218 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.974, allocations: 349.6 kB / 1.219 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.974, allocations: 33.7 kB / 1.219 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.9741, allocations: 184.6 kB / 1.219 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.931e-05/0.9742, allocations: 86.69 kB / 1.219 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.9743, allocations: 61.88 kB / 1.219 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.9744, allocations: 346.8 kB / 1.219 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/0.9748, allocations: 100.5 kB / 1.22 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003384/0.9751, allocations: 109 kB / 1.22 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006976/0.9758, allocations: 230.9 kB / 1.22 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.9758, allocations: 0 / 1.22 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008705/0.9767, allocations: 333.2 kB / 1.22 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.9767, allocations: 12 kB / 1.22 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.9768, allocations: 0 / 1.22 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.9768, allocations: 0 / 1.22 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/0.9772, allocations: 75.86 kB / 1.22 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.9772, allocations: 7.938 kB / 1.22 GB, free: 500 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.9775, allocations: 39.58 kB / 1.22 GB, free: 460 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.9775, allocations: 19.98 kB / 1.22 GB, free: 440 kB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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.000128/0.9776, allocations: 141.7 kB / 1.22 GB, free: 288 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.9778, allocations: 35.73 kB / 1.22 GB, free: 252 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009702/0.9787, allocations: 372.1 kB / 1.221 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.9787, allocations: 4 kB / 1.221 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.9788, allocations: 0 / 1.221 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.9788, allocations: 4 kB / 1.221 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.9791, allocations: 357.2 kB / 1.221 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.9791, allocations: 0 / 1.221 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/0.9794, allocations: 55.89 kB / 1.221 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.9794, allocations: 0 / 1.221 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.9795, allocations: 7.984 kB / 1.221 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.9795, allocations: 4 kB / 1.221 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.9795, allocations: 0 / 1.221 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007768/0.9803, allocations: 307.1 kB / 1.222 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.9804, allocations: 128.7 kB / 1.222 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.622e-05/0.9805, allocations: 11.84 kB / 1.222 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.9807, allocations: 19.98 kB / 1.222 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.9808, allocations: 11.97 kB / 1.222 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.9808, allocations: 12 kB / 1.222 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002139/0.981, allocations: 251.2 kB / 1.222 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.342e-06/0.981, allocations: 4 kB / 1.222 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003366/0.9814, allocations: 103.9 kB / 1.222 GB, free: 14.52 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002131/0.9816, allocations: 127.2 kB / 1.222 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007735/0.9824, allocations: 244 kB / 1.222 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9824, allocations: 0 / 1.222 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003604/0.9827, allocations: 115.8 kB / 1.223 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005935/0.9833, allocations: 124.9 kB / 1.223 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.9846, allocations: 0.5823 MB / 1.223 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.9849, allocations: 0.7756 MB / 1.224 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00029/0.9852, allocations: 70.83 kB / 1.224 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.9853, allocations: 39.41 kB / 1.224 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of SimCode: time 5.11e-07/0.9853, allocations: 0 / 1.224 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of Templates: time 0.009365/0.9947, allocations: 5.504 MB / 1.229 GB, free: 6.953 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & ./Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Convection_Examples_Exterior.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches