Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007767/0.0007764, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004977/0.004977, allocations: 172.3 kB / 16.27 MB, free: 6.66 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.368/1.368, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.616/2.616, allocations: 443.3 MB / 0.7175 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003581, allocations: 6.094 kB / 0.8796 GB, free: 41.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3361, allocations: 155.2 MB / 1.031 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.001743/0.3379, allocations: 1.294 MB / 1.032 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.3391, allocations: 0.9 MB / 1.033 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.62e-05/0.3392, allocations: 0 / 1.033 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.3395, allocations: 59.72 kB / 1.033 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004065/0.3399, allocations: 151.5 kB / 1.033 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.1e-05/0.3399, allocations: 7.984 kB / 1.033 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003837/0.3403, allocations: 354.3 kB / 1.034 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.515e-05/0.3404, allocations: 48.73 kB / 1.034 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.3406, allocations: 123.4 kB / 1.034 GB, free: 1.375 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.3408, allocations: 131.3 kB / 1.034 GB, free: 1.246 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.3409, allocations: 15.88 kB / 1.034 GB, free: 1.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003399/0.3443, allocations: 0.6642 MB / 1.035 GB, free: 0.5508 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.894e-05/0.3444, allocations: 47.77 kB / 1.035 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.3445, allocations: 152.9 kB / 1.035 GB, free: 356 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01352/0.3581, allocations: 13.28 MB / 1.048 GB, free: 3.012 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3581, allocations: 0 / 1.048 GB, free: 3.012 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3581, allocations: 0 / 1.048 GB, free: 3.012 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.3581, allocations: 0 / 1.048 GB, free: 3.012 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001298/0.3594, allocations: 0.6071 MB / 1.048 GB, free: 2.355 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.3595, allocations: 12.03 kB / 1.049 GB, free: 2.344 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.232e-05/0.3596, allocations: 28.56 kB / 1.049 GB, free: 2.316 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004631/0.36, allocations: 378.2 kB / 1.049 GB, free: 1.91 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.3601, allocations: 384 / 1.049 GB, free: 1.91 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.3601, allocations: 4.375 kB / 1.049 GB, free: 1.906 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.3602, allocations: 109.4 kB / 1.049 GB, free: 1.781 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-06/0.3603, allocations: 0 / 1.049 GB, free: 1.781 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.3603, allocations: 0 / 1.049 GB, free: 1.781 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3603, allocations: 0 / 1.049 GB, free: 1.781 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.645e-05/0.3604, allocations: 63.88 kB / 1.049 GB, free: 1.719 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003718/0.3608, allocations: 348.1 kB / 1.049 GB, free: 1.32 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.3609, allocations: 118.3 kB / 1.05 GB, free: 1.168 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.08e-05/0.361, allocations: 59.45 kB / 1.05 GB, free: 1.098 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.361, allocations: 0 / 1.05 GB, free: 1.098 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.361, allocations: 46.5 kB / 1.05 GB, free: 1.043 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 4.518e-06/0.3611, allocations: 3.938 kB / 1.05 GB, free: 1.039 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0003373/0.3614, allocations: 181.1 kB / 1.05 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.665e-05/0.3615, allocations: 132.5 kB / 1.05 GB, free: 0.6953 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005729/0.3621, allocations: 0.5019 MB / 1.05 GB, free: 188 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.3621, allocations: 29.7 kB / 1.05 GB, free: 152 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.3622, allocations: 164.3 kB / 1.051 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.3623, allocations: 15.83 kB / 1.051 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.3623, allocations: 21.72 kB / 1.051 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.3624, allocations: 350.8 kB / 1.051 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.3626, allocations: 111.9 kB / 1.051 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.3628, allocations: 188.5 kB / 1.051 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003084/0.3631, allocations: 267.2 kB / 1.051 GB, free: 15 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3631, allocations: 0 / 1.051 GB, free: 15 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004045/0.3635, allocations: 325.1 kB / 1.052 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3636, allocations: 7.938 kB / 1.052 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3636, allocations: 0 / 1.052 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.3636, allocations: 4 kB / 1.052 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.3637, allocations: 19.92 kB / 1.052 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3638, allocations: 7.938 kB / 1.052 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.3639, allocations: 27.81 kB / 1.052 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.3639, allocations: 8 kB / 1.052 GB, free: 14.6 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001648/0.3641, allocations: 175.3 kB / 1.052 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/0.3642, allocations: 39.47 kB / 1.052 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/0.3645, allocations: 184 kB / 1.052 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3645, allocations: 4 kB / 1.052 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3645, allocations: 0 / 1.052 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3645, allocations: 0 / 1.052 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.3648, allocations: 293.3 kB / 1.053 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3648, allocations: 4 kB / 1.053 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.382e-05/0.3649, allocations: 23.86 kB / 1.053 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.3649, allocations: 7.938 kB / 1.053 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3649, allocations: 0 / 1.053 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.3649, allocations: 3.984 kB / 1.053 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3649, allocations: 8.125 kB / 1.053 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.3651, allocations: 183.2 kB / 1.053 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.3653, allocations: 140.5 kB / 1.053 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/0.3653, allocations: 4 kB / 1.053 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.3655, allocations: 15.98 kB / 1.053 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.3655, allocations: 11.92 kB / 1.053 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.3655, allocations: 0 / 1.053 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003918/0.3659, allocations: 379 kB / 1.053 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3659, allocations: 0 / 1.053 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004279/0.3664, allocations: 107.9 kB / 1.053 GB, free: 12.94 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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.004632/0.371, allocations: 2.803 MB / 1.056 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003439/0.3713, allocations: 195.8 kB / 1.056 GB, free: 9.93 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3714, allocations: 0 / 1.056 GB, free: 9.93 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.412e-05/0.3714, allocations: 47.89 kB / 1.056 GB, free: 9.883 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.3719, allocations: 53.67 kB / 1.056 GB, free: 9.828 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009523/0.3728, allocations: 0.6736 MB / 1.057 GB, free: 9.121 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.3732, allocations: 0.8146 MB / 1.058 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001224/0.3733, allocations: 50.28 kB / 1.058 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.486e-05/0.3734, allocations: 19.44 kB / 1.058 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.3734, allocations: 3.938 kB / 1.058 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of Templates: time 0.01178/0.3852, allocations: 7.626 MB / 1.065 GB, free: 0.6172 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches