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.001303/0.001303, allocations: 107.9 kB / 16.41 MB, free: 6.488 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.001282/0.001282, allocations: 183 kB / 17.34 MB, free: 5.766 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.604/2.604, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 60.34 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8745/0.8766, 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.004176/0.8808, allocations: 2.711 MB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003289/0.8841, allocations: 1.749 MB / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003261/0.8845, allocations: 4 kB / 1.213 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.8846, allocations: 51.45 kB / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006161/0.8853, allocations: 146.8 kB / 1.213 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.8864, allocations: 379 kB / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000732/0.8871, allocations: 490.5 kB / 1.214 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003022/0.8874, allocations: 156.7 kB / 1.214 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003125/0.8877, allocations: 191.3 kB / 1.214 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002882/0.888, allocations: 187.1 kB / 1.214 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.704e-05/0.8881, allocations: 28 kB / 1.214 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007665/0.8889, allocations: 459.4 kB / 1.215 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.58e-05/0.889, allocations: 67.77 kB / 1.215 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.8892, allocations: 195 kB / 1.215 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007161/0.8899, allocations: 0.5315 MB / 1.216 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8899, allocations: 0 / 1.216 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8899, allocations: 4 kB / 1.216 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.8899, allocations: 0 / 1.216 GB, free: 6.301 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.00119/0.8911, allocations: 0.7092 MB / 1.216 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.8912, allocations: 12.03 kB / 1.216 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000896/0.8921, allocations: 112.3 kB / 1.216 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004834/0.8926, allocations: 319.3 kB / 1.217 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.8926, allocations: 25.03 kB / 1.217 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/0.8927, allocations: 28.38 kB / 1.217 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007477/0.8934, allocations: 310.3 kB / 1.217 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.8935, allocations: 8 kB / 1.217 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.8935, allocations: 8 kB / 1.217 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.8935, allocations: 8 kB / 1.217 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008587/0.8944, allocations: 290.4 kB / 1.217 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.8965, allocations: 0.8968 MB / 1.218 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.8975, allocations: 298.4 kB / 1.218 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004245/0.8979, allocations: 132.8 kB / 1.219 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/0.8981, allocations: 89.47 kB / 1.219 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.8982, allocations: 34.56 kB / 1.219 GB, free: 2.871 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=25): time 2.073e-06/0.8982, allocations: 4 kB / 1.219 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25): time 0.001381/0.8996, allocations: 393.2 kB / 1.219 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.8996, allocations: 51.41 kB / 1.219 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003707/0.9, allocations: 341.6 kB / 1.219 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.9001, allocations: 33.7 kB / 1.219 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.9002, allocations: 184.6 kB / 1.22 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.834e-05/0.9003, allocations: 82.75 kB / 1.22 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.9004, allocations: 65.86 kB / 1.22 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.9006, allocations: 346.8 kB / 1.22 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003932/0.901, allocations: 100.5 kB / 1.22 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.9013, allocations: 109 kB / 1.22 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007301/0.9021, allocations: 234.9 kB / 1.221 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.9021, allocations: 0 / 1.221 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009449/0.903, allocations: 333.3 kB / 1.221 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.903, allocations: 4 kB / 1.221 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.9031, allocations: 3.938 kB / 1.221 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.9031, allocations: 0 / 1.221 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/0.9035, allocations: 79.88 kB / 1.221 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.9035, allocations: 3.938 kB / 1.221 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/0.9038, allocations: 47.56 kB / 1.221 GB, free: 460 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.9039, allocations: 11.98 kB / 1.221 GB, free: 448 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.0001579/0.904, allocations: 149.8 kB / 1.221 GB, free: 288 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.9042, allocations: 35.56 kB / 1.221 GB, free: 252 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.9052, allocations: 372 kB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.9052, allocations: 0 / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.9052, allocations: 0 / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.9052, allocations: 0 / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000399/0.9056, allocations: 365.2 kB / 1.222 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.9056, allocations: 0 / 1.222 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.906, allocations: 55.89 kB / 1.222 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.906, allocations: 0 / 1.222 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.757e-05/0.906, allocations: 11.98 kB / 1.222 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.9061, allocations: 0 / 1.222 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.9061, allocations: 0 / 1.222 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008618/0.9069, allocations: 299.1 kB / 1.222 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.9071, allocations: 132.7 kB / 1.222 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.802e-05/0.9072, allocations: 19.78 kB / 1.222 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002768/0.9074, allocations: 15.98 kB / 1.222 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.9075, allocations: 11.98 kB / 1.222 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.9075, allocations: 15.98 kB / 1.222 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002567/0.9078, allocations: 255.1 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9078, allocations: 0 / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003824/0.9082, allocations: 95.98 kB / 1.223 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.0002551/0.9085, allocations: 131.2 kB / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008219/0.9093, allocations: 240 kB / 1.223 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9093, allocations: 0 / 1.223 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003739/0.9097, allocations: 111.8 kB / 1.223 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006036/0.9103, allocations: 125.1 kB / 1.223 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.9117, allocations: 0.6153 MB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.912, allocations: 0.7717 MB / 1.225 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.9122, allocations: 43.39 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of SimCode: time 4.41e-07/0.9122, allocations: 0 / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of Templates: time 0.00883/0.921, allocations: 5.104 MB / 1.23 GB, free: 7.359 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches