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.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.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.001346/0.001346, allocations: 107.6 kB / 16.27 MB, free: 6.414 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.001198/0.001198, allocations: 189.7 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.44/1.44, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.789/2.789, allocations: 469.4 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 63.66 kB / 0.9088 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4149, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003594/0.4185, allocations: 1.583 MB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001696/0.4202, allocations: 0.9229 MB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.4204, allocations: 3.938 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003019/0.4207, allocations: 59.72 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0005936/0.4214, allocations: 151.3 kB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.751e-05/0.4214, allocations: 7.984 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004496/0.4219, allocations: 370.3 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.619e-05/0.422, allocations: 44.75 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002908/0.4223, allocations: 143.3 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.4225, allocations: 131.4 kB / 1.068 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.352e-05/0.4226, allocations: 16 kB / 1.068 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.761e-05/0.4226, allocations: 16 kB / 1.068 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.5e-05/0.4227, allocations: 47.77 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.4229, allocations: 135.1 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.4233, allocations: 287.3 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.4233, allocations: 4 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4233, allocations: 3.938 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.4233, allocations: 0 / 1.068 GB, free: 11.1 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001293/0.4246, allocations: 0.6145 MB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.4247, allocations: 16.62 kB / 1.069 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.4248, allocations: 28.56 kB / 1.069 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006342/0.4254, allocations: 386.3 kB / 1.069 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.4254, allocations: 384 / 1.069 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.4255, allocations: 8.312 kB / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.4257, allocations: 105.3 kB / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4257, allocations: 0 / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.4257, allocations: 7.984 kB / 1.069 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4257, allocations: 0 / 1.069 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.4258, allocations: 67.88 kB / 1.069 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000601/0.4265, allocations: 356.1 kB / 1.07 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.4266, allocations: 106.4 kB / 1.07 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.593e-05/0.4267, allocations: 59.47 kB / 1.07 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.4267, allocations: 7.984 kB / 1.07 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.4268, allocations: 42.44 kB / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.913e-06/0.4268, allocations: 0 / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0003985/0.4272, allocations: 189 kB / 1.07 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.469e-05/0.4273, allocations: 136.5 kB / 1.07 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006598/0.4279, allocations: 0.5132 MB / 1.071 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.428, allocations: 25.7 kB / 1.071 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.4281, allocations: 164.6 kB / 1.071 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.4282, allocations: 7.906 kB / 1.071 GB, free: 8.02 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.235e-05/0.4282, allocations: 29.61 kB / 1.071 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.4284, allocations: 338.8 kB / 1.071 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.457e-05/0.4284, allocations: 35.95 kB / 1.071 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.565e-05/0.4285, allocations: 55.41 kB / 1.071 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.4287, allocations: 107.3 kB / 1.071 GB, free: 7.426 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.4287, allocations: 0 / 1.071 GB, free: 7.426 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002395/0.4289, allocations: 153 kB / 1.071 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.4289, allocations: 7.938 kB / 1.071 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.429, allocations: 0 / 1.071 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.429, allocations: 4.125 kB / 1.071 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.4291, allocations: 15.98 kB / 1.071 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.4291, allocations: 3.984 kB / 1.071 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.4293, allocations: 7.984 kB / 1.071 GB, free: 7.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.4293, allocations: 7.984 kB / 1.071 GB, free: 7.223 MB / 0.8419 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 (4): * Single equations (assignments): 4 * 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.0001836/0.4295, allocations: 176 kB / 1.072 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/0.4296, allocations: 35.56 kB / 1.072 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003408/0.4299, allocations: 191.6 kB / 1.072 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.4299, allocations: 4 kB / 1.072 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4299, allocations: 0 / 1.072 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4299, allocations: 0 / 1.072 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.4303, allocations: 313.5 kB / 1.072 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4303, allocations: 4 kB / 1.072 GB, free: 6.449 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.148e-05/0.4304, allocations: 15.94 kB / 1.072 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.4304, allocations: 3.938 kB / 1.072 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.4304, allocations: 12.05 kB / 1.072 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4304, allocations: 4 kB / 1.072 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4304, allocations: 0 / 1.072 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.4307, allocations: 183.3 kB / 1.072 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.4308, allocations: 140.5 kB / 1.073 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.957e-05/0.4309, allocations: 11.94 kB / 1.073 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.4311, allocations: 15.92 kB / 1.073 GB, free: 6.023 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.4311, allocations: 4.094 kB / 1.073 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.4311, allocations: 0 / 1.073 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000466/0.4316, allocations: 399 kB / 1.073 GB, free: 5.629 MB / 0.8419 GB Notification: Performance of sort global known variables: time 5.81e-07/0.4316, allocations: 0 / 1.073 GB, free: 5.629 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002627/0.4319, allocations: 40 kB / 1.073 GB, free: 5.59 MB / 0.8419 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.0001175/0.432, allocations: 103.8 kB / 1.073 GB, free: 5.48 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001964/0.4322, allocations: 91.86 kB / 1.073 GB, free: 5.391 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4322, allocations: 0 / 1.073 GB, free: 5.391 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.087e-05/0.4323, allocations: 51.89 kB / 1.073 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.4327, allocations: 69.91 kB / 1.073 GB, free: 5.273 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.4338, allocations: 0.6021 MB / 1.074 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.4342, allocations: 0.8104 MB / 1.075 GB, free: 3.789 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.862e-05/0.4343, allocations: 23.44 kB / 1.075 GB, free: 3.766 MB / 0.8419 GB Notification: Performance of SimCode: time 6.11e-07/0.4343, allocations: 0 / 1.075 GB, free: 3.766 MB / 0.8419 GB Notification: Performance of Templates: time 0.007223/0.4415, allocations: 3.684 MB / 1.078 GB, free: 96 kB / 0.8419 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches