Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.HeatTransfer.Convection.Examples.Exterior,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor.hF|wes.hF|sou.hF|eas.hF",fileNamePrefix="Buildings_10_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_10_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.00189/0.00189, allocations: 114.1 kB / 16.41 MB, free: 6.496 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.00177/0.001771, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.473/1.473, allocations: 222.9 MB / 241 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.672/2.672, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 63.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.017, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.004441/1.021, allocations: 2.721 MB / 1.17 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003532/1.025, allocations: 1.753 MB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002032/1.025, allocations: 4 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001404/1.025, allocations: 47.45 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000556/1.026, allocations: 154.9 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/1.027, allocations: 380.7 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006699/1.027, allocations: 494.5 kB / 1.173 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003176/1.028, allocations: 141.1 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/1.028, allocations: 191.3 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/1.028, allocations: 183.2 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.124e-05/1.028, allocations: 31.94 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007836/1.029, allocations: 451.5 kB / 1.174 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.823e-05/1.029, allocations: 79.69 kB / 1.174 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002161/1.029, allocations: 191 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007505/1.03, allocations: 0.5491 MB / 1.174 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.03, allocations: 0 / 1.174 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.254e-06/1.03, allocations: 0 / 1.174 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.426e-06/1.03, allocations: 0 / 1.174 GB, free: 12.49 MB / 0.9044 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.001178/1.031, allocations: 0.7201 MB / 1.175 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/1.031, allocations: 16.88 kB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008134/1.032, allocations: 116.5 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005187/1.033, allocations: 315.6 kB / 1.176 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/1.033, allocations: 21.03 kB / 1.176 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.122e-05/1.033, allocations: 40.31 kB / 1.176 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007576/1.034, allocations: 310.3 kB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/1.034, allocations: 0 / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/1.034, allocations: 12 kB / 1.176 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/1.034, allocations: 8 kB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008316/1.035, allocations: 286.4 kB / 1.176 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/1.036, allocations: 0.9088 MB / 1.177 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009051/1.037, allocations: 286.5 kB / 1.177 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003977/1.038, allocations: 132.8 kB / 1.177 GB, free: 9.191 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/1.038, allocations: 89.47 kB / 1.178 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/1.038, allocations: 34.56 kB / 1.178 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=25): time 1.733e-06/1.038, allocations: 4 kB / 1.178 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25): time 0.00135/1.039, allocations: 395.2 kB / 1.178 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/1.039, allocations: 55.41 kB / 1.178 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003901/1.04, allocations: 341.6 kB / 1.178 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/1.04, allocations: 33.7 kB / 1.178 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/1.04, allocations: 188.8 kB / 1.179 GB, free: 8.012 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.675e-05/1.04, allocations: 87.22 kB / 1.179 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/1.04, allocations: 65.91 kB / 1.179 GB, free: 7.855 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000181/1.04, allocations: 350.8 kB / 1.179 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003485/1.041, allocations: 96.48 kB / 1.179 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003592/1.041, allocations: 109.6 kB / 1.179 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007154/1.042, allocations: 234.3 kB / 1.179 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.042, allocations: 0 / 1.179 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009253/1.043, allocations: 333.2 kB / 1.18 GB, free: 6.742 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/1.043, allocations: 6.812 kB / 1.18 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/1.043, allocations: 0 / 1.18 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/1.043, allocations: 0 / 1.18 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004057/1.043, allocations: 75.88 kB / 1.18 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/1.043, allocations: 11.94 kB / 1.18 GB, free: 6.652 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/1.043, allocations: 47.7 kB / 1.18 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/1.044, allocations: 7.984 kB / 1.18 GB, free: 6.598 MB / 0.9044 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.0001666/1.044, allocations: 141.8 kB / 1.18 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/1.044, allocations: 39.88 kB / 1.18 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/1.045, allocations: 377.3 kB / 1.18 GB, free: 6.023 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/1.045, allocations: 0 / 1.18 GB, free: 6.023 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.045, allocations: 0 / 1.18 GB, free: 6.023 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.045, allocations: 0 / 1.18 GB, free: 6.023 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/1.045, allocations: 349.2 kB / 1.181 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.045, allocations: 4 kB / 1.181 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003232/1.046, allocations: 59.88 kB / 1.181 GB, free: 5.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/1.046, allocations: 4 kB / 1.181 GB, free: 5.566 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/1.046, allocations: 11.98 kB / 1.181 GB, free: 5.555 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.046, allocations: 3.938 kB / 1.181 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.046, allocations: 0 / 1.181 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008132/1.047, allocations: 301.4 kB / 1.181 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/1.047, allocations: 132.8 kB / 1.181 GB, free: 5.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.505e-05/1.047, allocations: 11.98 kB / 1.181 GB, free: 5.078 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/1.047, allocations: 19.98 kB / 1.181 GB, free: 5.059 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/1.047, allocations: 7.984 kB / 1.181 GB, free: 5.051 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/1.047, allocations: 11.98 kB / 1.181 GB, free: 5.039 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000269/1.047, allocations: 255.1 kB / 1.182 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.014e-06/1.047, allocations: 0 / 1.182 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003623/1.048, allocations: 103.8 kB / 1.182 GB, free: 4.691 MB / 0.9044 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.000267/1.048, allocations: 139.1 kB / 1.182 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008168/1.049, allocations: 244.9 kB / 1.182 GB, free: 4.309 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.049, allocations: 4 kB / 1.182 GB, free: 4.305 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003617/1.049, allocations: 107.9 kB / 1.182 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006135/1.05, allocations: 130 kB / 1.182 GB, free: 4.082 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/1.051, allocations: 0.5841 MB / 1.183 GB, free: 3.473 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/1.052, allocations: 0.7794 MB / 1.184 GB, free: 2.668 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002862/1.052, allocations: 82.78 kB / 1.184 GB, free: 2.59 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/1.052, allocations: 39.36 kB / 1.184 GB, free: 2.551 MB / 0.9044 GB Notification: Performance of SimCode: time 4.1e-07/1.052, allocations: 0 / 1.184 GB, free: 2.551 MB / 0.9044 GB Notification: Performance of Templates: time 0.01137/1.064, allocations: 5.412 MB / 1.189 GB, free: 13.19 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Convection.Examples.Exterior.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & ./Buildings_10_Buildings.HeatTransfer.Convection.Examples.Exterior -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Convection_Examples_Exterior.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Convection.Examples.Exterior.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches