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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001196/0.001196, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.009346/0.009346, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.496/1.496, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.984/2.984, allocations: 473.4 MB / 0.747 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000587/0.0005873, allocations: 7.562 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3583, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.003725/0.362, allocations: 2.375 MB / 1.076 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003663/0.3657, allocations: 1.784 MB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.3659, allocations: 4 kB / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.457e-05/0.366, allocations: 31.7 kB / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000562/0.3666, allocations: 135.1 kB / 1.078 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008095/0.3674, allocations: 295.4 kB / 1.079 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005941/0.368, allocations: 474.5 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002849/0.3683, allocations: 125.4 kB / 1.079 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002155/0.3686, allocations: 147.3 kB / 1.079 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.3688, allocations: 155.2 kB / 1.08 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.59e-05/0.3688, allocations: 20 kB / 1.08 GB, free: 2 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007789/0.3696, allocations: 443.3 kB / 1.08 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.068e-05/0.3697, allocations: 55.72 kB / 1.08 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.3699, allocations: 196.8 kB / 1.08 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006333/0.3705, allocations: 0.5138 MB / 1.081 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3705, allocations: 0 / 1.081 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.424e-06/0.3705, allocations: 0 / 1.081 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.3705, allocations: 0 / 1.081 GB, free: 0.7969 MB / 0.8262 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.001084/0.3716, allocations: 0.647 MB / 1.081 GB, free: 104 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.3717, allocations: 12.02 kB / 1.081 GB, free: 92 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008443/0.3725, allocations: 112.4 kB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003698/0.3729, allocations: 315.2 kB / 1.082 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.373, allocations: 21.03 kB / 1.082 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-05/0.373, allocations: 36.38 kB / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007363/0.3738, allocations: 326.2 kB / 1.082 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3738, allocations: 0 / 1.082 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.3738, allocations: 12 kB / 1.082 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.3738, allocations: 8 kB / 1.082 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008554/0.3747, allocations: 298.4 kB / 1.082 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.3763, allocations: 0.8969 MB / 1.083 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009413/0.3773, allocations: 302.6 kB / 1.084 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003818/0.3777, allocations: 136.7 kB / 1.084 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001513/0.3778, allocations: 89.23 kB / 1.084 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.3779, allocations: 38.56 kB / 1.084 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 1.233e-06/0.3779, allocations: 0 / 1.084 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25): time 0.00134/0.3792, allocations: 406.2 kB / 1.084 GB, free: 13 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.33e-05/0.3793, allocations: 59.34 kB / 1.084 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000449/0.3798, allocations: 345.6 kB / 1.085 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/0.3798, allocations: 29.7 kB / 1.085 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.38, allocations: 184.6 kB / 1.085 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.66e-05/0.3801, allocations: 82.8 kB / 1.085 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.144e-05/0.3802, allocations: 29.72 kB / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0004365/0.3806, allocations: 342.8 kB / 1.085 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003845/0.381, allocations: 112.5 kB / 1.085 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000423/0.3814, allocations: 117 kB / 1.085 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007458/0.3822, allocations: 239 kB / 1.086 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.3822, allocations: 0 / 1.086 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001003/0.3832, allocations: 353.4 kB / 1.086 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.3833, allocations: 4 kB / 1.086 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.3833, allocations: 4 kB / 1.086 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/0.3833, allocations: 4 kB / 1.086 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005288/0.3838, allocations: 71.92 kB / 1.086 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.812e-05/0.3839, allocations: 7.938 kB / 1.086 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003407/0.3842, allocations: 51.55 kB / 1.086 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/0.3843, allocations: 19.92 kB / 1.086 GB, free: 10.93 MB / 0.8419 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.0002313/0.3845, allocations: 142.7 kB / 1.086 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.3846, allocations: 39.53 kB / 1.086 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.3857, allocations: 373.8 kB / 1.087 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.3857, allocations: 0 / 1.087 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.3858, allocations: 3.938 kB / 1.087 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.3858, allocations: 8.094 kB / 1.087 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004668/0.3862, allocations: 357.1 kB / 1.087 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3863, allocations: 0 / 1.087 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003192/0.3866, allocations: 63.88 kB / 1.087 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.975e-05/0.3866, allocations: 4 kB / 1.087 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.3867, allocations: 0 / 1.087 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/0.3867, allocations: 4 kB / 1.087 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.3867, allocations: 3.984 kB / 1.087 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008692/0.3875, allocations: 311.2 kB / 1.087 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/0.3877, allocations: 140.6 kB / 1.088 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.52e-05/0.3878, allocations: 4 kB / 1.088 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.3881, allocations: 23.89 kB / 1.088 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/0.3881, allocations: 19.97 kB / 1.088 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.3882, allocations: 8 kB / 1.088 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002988/0.3885, allocations: 259.1 kB / 1.088 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3885, allocations: 0 / 1.088 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004241/0.3889, allocations: 91.94 kB / 1.088 GB, free: 9 MB / 0.8419 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.0003397/0.3893, allocations: 137.4 kB / 1.088 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008607/0.3901, allocations: 255.8 kB / 1.088 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3901, allocations: 0 / 1.088 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003947/0.3905, allocations: 115.8 kB / 1.088 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007517/0.3913, allocations: 112.2 kB / 1.089 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.3929, allocations: 0.7145 MB / 1.089 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.3933, allocations: 0.7755 MB / 1.09 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003291/0.3936, allocations: 78.8 kB / 1.09 GB, free: 6.77 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.3938, allocations: 39.41 kB / 1.09 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of SimCode: time 6.81e-07/0.3938, allocations: 0 / 1.09 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of Templates: time 0.01108/0.4049, allocations: 5.072 MB / 1.095 GB, free: 1.707 MB / 0.8419 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