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.00145/0.001455, allocations: 109.1 kB / 16.27 MB, free: 6.41 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.001624/0.001624, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.316/1.316, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.551/2.551, allocations: 469.4 MB / 0.7426 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 66.3 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3058, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.004229/0.3101, allocations: 2.707 MB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002944/0.3131, allocations: 1.768 MB / 1.069 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002462/0.3134, allocations: 4 kB / 1.069 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.3135, allocations: 47.45 kB / 1.069 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0005114/0.3141, allocations: 149.1 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009179/0.315, allocations: 379 kB / 1.069 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005754/0.3156, allocations: 482.6 kB / 1.07 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002588/0.3158, allocations: 149.3 kB / 1.07 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002362/0.3161, allocations: 171.4 kB / 1.07 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.3163, allocations: 183.1 kB / 1.07 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.411e-05/0.3164, allocations: 32 kB / 1.07 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006753/0.3171, allocations: 451.5 kB / 1.071 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.061e-05/0.3172, allocations: 75.64 kB / 1.071 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.3173, allocations: 187.1 kB / 1.071 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006143/0.318, allocations: 0.5335 MB / 1.071 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.318, allocations: 8 kB / 1.071 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.633e-06/0.318, allocations: 0 / 1.071 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.318, allocations: 0 / 1.071 GB, free: 7.715 MB / 0.8419 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.001055/0.3191, allocations: 0.7014 MB / 1.072 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.3191, allocations: 8.625 kB / 1.072 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008901/0.32, allocations: 120.3 kB / 1.072 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.3204, allocations: 319.2 kB / 1.072 GB, free: 6.492 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.3204, allocations: 21.03 kB / 1.072 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.434e-05/0.3204, allocations: 32.38 kB / 1.072 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006986/0.3212, allocations: 314.3 kB / 1.073 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3212, allocations: 4 kB / 1.073 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.3212, allocations: 8 kB / 1.073 GB, free: 6.117 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.3212, allocations: 8 kB / 1.073 GB, free: 6.109 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008333/0.3221, allocations: 298.3 kB / 1.073 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.3237, allocations: 0.893 MB / 1.074 GB, free: 4.867 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000948/0.3247, allocations: 298.4 kB / 1.074 GB, free: 4.566 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003931/0.3251, allocations: 128.7 kB / 1.074 GB, free: 4.438 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000162/0.3253, allocations: 101.4 kB / 1.074 GB, free: 4.32 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.3253, allocations: 30.56 kB / 1.074 GB, free: 4.281 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 1.924e-06/0.3253, allocations: 0 / 1.074 GB, free: 4.281 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25): time 0.001341/0.3266, allocations: 389.6 kB / 1.075 GB, free: 3.895 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.3267, allocations: 55.41 kB / 1.075 GB, free: 3.828 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/0.3271, allocations: 341.6 kB / 1.075 GB, free: 3.492 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.3271, allocations: 33.7 kB / 1.075 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.3272, allocations: 180.6 kB / 1.075 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.834e-05/0.3273, allocations: 78.81 kB / 1.076 GB, free: 3.195 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.3274, allocations: 61.95 kB / 1.076 GB, free: 3.125 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3276, allocations: 350.8 kB / 1.076 GB, free: 2.773 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.328, allocations: 96.48 kB / 1.076 GB, free: 2.68 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003583/0.3283, allocations: 120.9 kB / 1.076 GB, free: 2.562 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007283/0.3291, allocations: 226.4 kB / 1.076 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3291, allocations: 0 / 1.076 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009458/0.33, allocations: 341.7 kB / 1.077 GB, free: 2 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3301, allocations: 4 kB / 1.077 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3301, allocations: 0 / 1.077 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3301, allocations: 0 / 1.077 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/0.3305, allocations: 75.88 kB / 1.077 GB, free: 1.922 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3305, allocations: 7.938 kB / 1.077 GB, free: 1.914 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.3308, allocations: 51.5 kB / 1.077 GB, free: 1.863 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.848e-05/0.3309, allocations: 15.98 kB / 1.077 GB, free: 1.848 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.0001494/0.331, allocations: 138.3 kB / 1.077 GB, free: 1.703 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.3312, allocations: 35.62 kB / 1.077 GB, free: 1.668 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.3322, allocations: 377.2 kB / 1.077 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.3322, allocations: 4 kB / 1.077 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3322, allocations: 0 / 1.077 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3323, allocations: 112 / 1.077 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003611/0.3326, allocations: 365.1 kB / 1.078 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3326, allocations: 0 / 1.078 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003372/0.333, allocations: 51.95 kB / 1.078 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.333, allocations: 0 / 1.078 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.333, allocations: 15.98 kB / 1.078 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.333, allocations: 0 / 1.078 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.333, allocations: 0 / 1.078 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008368/0.3339, allocations: 299 kB / 1.078 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.334, allocations: 136.6 kB / 1.078 GB, free: 348 kB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.454e-05/0.3341, allocations: 8 kB / 1.078 GB, free: 340 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.3344, allocations: 15.98 kB / 1.078 GB, free: 324 kB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.3344, allocations: 11.98 kB / 1.078 GB, free: 312 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.3345, allocations: 15.98 kB / 1.078 GB, free: 296 kB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002459/0.3347, allocations: 251.1 kB / 1.078 GB, free: 44 kB / 0.8419 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3347, allocations: 4 kB / 1.078 GB, free: 40 kB / 0.8419 GB Notification: Performance of remove unused functions: time 0.4842/0.819, allocations: 100.7 kB / 1.079 GB, free: 22.37 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.0002612/0.8193, allocations: 128.2 kB / 1.079 GB, free: 22.28 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009661/0.8202, allocations: 249.2 kB / 1.079 GB, free: 22.28 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.8202, allocations: 1.656 kB / 1.079 GB, free: 22.28 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003874/0.8206, allocations: 109.4 kB / 1.079 GB, free: 22.28 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006804/0.8213, allocations: 122.1 kB / 1.079 GB, free: 22.28 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.8227, allocations: 0.6122 MB / 1.08 GB, free: 21.99 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.8229, allocations: 0.7792 MB / 1.08 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.8231, allocations: 42.02 kB / 1.081 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.8231, allocations: 0 / 1.081 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of Templates: time 0.008998/0.8321, allocations: 5.077 MB / 1.085 GB, free: 20.88 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/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