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.00167/0.00167, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001998/0.001998, allocations: 196 kB / 16.14 MB, free: 6.711 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.446/1.446, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.794/2.794, allocations: 461.8 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 60.5 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3606, allocations: 157.4 MB / 1.052 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.004009/0.3646, allocations: 2.743 MB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00327/0.3679, allocations: 1.815 MB / 1.057 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.3681, allocations: 7.938 kB / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.3683, allocations: 31.7 kB / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004439/0.3687, allocations: 123.1 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006817/0.3694, allocations: 299.4 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005751/0.37, allocations: 474.4 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002658/0.3703, allocations: 126 kB / 1.058 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.3704, allocations: 167.3 kB / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.3706, allocations: 171.2 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.162e-05/0.3707, allocations: 24 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007232/0.3714, allocations: 443.4 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.808e-05/0.3715, allocations: 63.7 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.3717, allocations: 183 kB / 1.059 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005896/0.3723, allocations: 0.5256 MB / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3723, allocations: 4 kB / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3723, allocations: 4 kB / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.3723, allocations: 0 / 1.059 GB, free: 1.652 MB / 0.8106 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.001085/0.3734, allocations: 0.6976 MB / 1.06 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3735, allocations: 8.031 kB / 1.06 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008893/0.3743, allocations: 124.3 kB / 1.06 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.3747, allocations: 311.4 kB / 1.06 GB, free: 444 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/0.3748, allocations: 25.03 kB / 1.06 GB, free: 420 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.3748, allocations: 32.38 kB / 1.06 GB, free: 388 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007072/0.3755, allocations: 314.3 kB / 1.061 GB, free: 64 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3756, allocations: 4 kB / 1.061 GB, free: 60 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.442e-05/0.3756, allocations: 8 kB / 1.061 GB, free: 52 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.3756, allocations: 11.94 kB / 1.061 GB, free: 40 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008151/0.3765, allocations: 286.4 kB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/0.3781, allocations: 0.8929 MB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008712/0.379, allocations: 296 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000362/0.3794, allocations: 132.7 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001477/0.3795, allocations: 97.47 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.3796, allocations: 30.56 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 2.735e-06/0.3796, allocations: 3.984 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25): time 0.001257/0.3808, allocations: 394 kB / 1.063 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.3809, allocations: 55.41 kB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003501/0.3812, allocations: 349.5 kB / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.3813, allocations: 25.7 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.3814, allocations: 184.6 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.522e-05/0.3815, allocations: 82.81 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.3816, allocations: 57.95 kB / 1.063 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3818, allocations: 350.8 kB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/0.3821, allocations: 108.4 kB / 1.064 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/0.3825, allocations: 109 kB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006795/0.3832, allocations: 234.4 kB / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3832, allocations: 0 / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008671/0.3841, allocations: 337.7 kB / 1.064 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.3841, allocations: 8 kB / 1.064 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.3841, allocations: 0 / 1.064 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3841, allocations: 0 / 1.064 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/0.3845, allocations: 75.88 kB / 1.065 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.3846, allocations: 4.047 kB / 1.065 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.3849, allocations: 55.53 kB / 1.065 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.3849, allocations: 15.97 kB / 1.065 GB, free: 11.77 MB / 0.8262 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.0001463/0.3851, allocations: 141.8 kB / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.3852, allocations: 39.53 kB / 1.065 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009724/0.3862, allocations: 366.1 kB / 1.065 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3862, allocations: 4 kB / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3862, allocations: 0 / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3862, allocations: 0 / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.3865, allocations: 361.1 kB / 1.065 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3865, allocations: 0 / 1.065 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003337/0.3869, allocations: 59.88 kB / 1.065 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3869, allocations: 0 / 1.065 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.3869, allocations: 11.98 kB / 1.066 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3869, allocations: 4 kB / 1.066 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3869, allocations: 0 / 1.066 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007715/0.3877, allocations: 288.5 kB / 1.066 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.3879, allocations: 132.6 kB / 1.066 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.722e-05/0.3879, allocations: 15.92 kB / 1.066 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.3882, allocations: 23.98 kB / 1.066 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.3883, allocations: 11.98 kB / 1.066 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.3883, allocations: 7.984 kB / 1.066 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002335/0.3885, allocations: 255.1 kB / 1.066 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3885, allocations: 0 / 1.066 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003606/0.3889, allocations: 107.8 kB / 1.066 GB, free: 9.863 MB / 0.8262 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.0002276/0.3891, allocations: 131.2 kB / 1.066 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007605/0.3899, allocations: 241.8 kB / 1.067 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3899, allocations: 4 kB / 1.067 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003583/0.3903, allocations: 111.8 kB / 1.067 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006769/0.391, allocations: 122.4 kB / 1.067 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.3922, allocations: 0.6866 MB / 1.068 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.3926, allocations: 0.7755 MB / 1.068 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003172/0.3929, allocations: 78.81 kB / 1.068 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.393, allocations: 39.41 kB / 1.068 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.393, allocations: 0 / 1.068 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of Templates: time 0.0103/0.4033, allocations: 5.105 MB / 1.073 GB, free: 2.582 MB / 0.8262 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