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.009154/0.009154, allocations: 106.3 kB / 15.74 MB, free: 6.004 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.002006/0.002006, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.557/2.557, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.91 kB / 1.054 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8366/0.8378, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002429/0.8403, allocations: 1.583 MB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.8416, allocations: 0.919 MB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.57e-05/0.8417, allocations: 0 / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.8419, allocations: 67.64 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000418/0.8423, allocations: 139.3 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.615e-05/0.8424, allocations: 11.97 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000387/0.8428, allocations: 374.2 kB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.421e-05/0.8429, allocations: 52.73 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.8431, allocations: 139.4 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.8433, allocations: 139.3 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.8433, allocations: 12 kB / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.216e-05/0.8434, allocations: 16 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.757e-05/0.8435, allocations: 55.69 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.8436, allocations: 131.3 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.8439, allocations: 288.6 kB / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8439, allocations: 0 / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.233e-06/0.8439, allocations: 0 / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.8439, allocations: 0 / 1.212 GB, free: 9.766 MB / 0.9356 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.001003/0.8449, allocations: 0.6224 MB / 1.212 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.8449, allocations: 12.03 kB / 1.212 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.499e-05/0.845, allocations: 32.56 kB / 1.212 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004672/0.8455, allocations: 394.2 kB / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.8455, allocations: 4.312 kB / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.8455, allocations: 384 / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.8457, allocations: 109.3 kB / 1.213 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.8457, allocations: 4 kB / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.8457, allocations: 0 / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.8457, allocations: 0 / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.444e-05/0.8458, allocations: 67.86 kB / 1.213 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003633/0.8462, allocations: 356 kB / 1.213 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.8463, allocations: 110.4 kB / 1.213 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.933e-05/0.8464, allocations: 63.39 kB / 1.213 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.8464, allocations: 0 / 1.213 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.8464, allocations: 42.5 kB / 1.213 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.8464, allocations: 0 / 1.213 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.000328/0.8468, allocations: 185.1 kB / 1.213 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.8468, allocations: 128.5 kB / 1.214 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000542/0.8474, allocations: 0.5137 MB / 1.214 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.8474, allocations: 29.7 kB / 1.214 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.8475, allocations: 164.1 kB / 1.214 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.8476, allocations: 15.75 kB / 1.214 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-05/0.8476, allocations: 21.7 kB / 1.214 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.8477, allocations: 346.8 kB / 1.215 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.442e-05/0.8478, allocations: 35.91 kB / 1.215 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.052e-05/0.8479, allocations: 59.39 kB / 1.215 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.848, allocations: 107.3 kB / 1.215 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.848, allocations: 0 / 1.215 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001944/0.8482, allocations: 141.2 kB / 1.215 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.8483, allocations: 16.06 kB / 1.215 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.8483, allocations: 0 / 1.215 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.8483, allocations: 0 / 1.215 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.8484, allocations: 11.98 kB / 1.215 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.8484, allocations: 4 kB / 1.215 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.8485, allocations: 7.984 kB / 1.215 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.8486, allocations: 8 kB / 1.215 GB, free: 5.887 MB / 0.9356 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.0001462/0.8487, allocations: 177.7 kB / 1.215 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.8488, allocations: 35.56 kB / 1.215 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003032/0.8491, allocations: 191.7 kB / 1.215 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.8491, allocations: 0 / 1.215 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.8491, allocations: 0 / 1.215 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.8491, allocations: 4 kB / 1.215 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.8494, allocations: 309.4 kB / 1.216 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.8494, allocations: 0 / 1.216 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.95e-05/0.8495, allocations: 15.98 kB / 1.216 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.8495, allocations: 15.94 kB / 1.216 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.8495, allocations: 4 kB / 1.216 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.8495, allocations: 0 / 1.216 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.8495, allocations: 8 kB / 1.216 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.8497, allocations: 191.1 kB / 1.216 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.8499, allocations: 140.6 kB / 1.216 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.571e-05/0.8499, allocations: 4 kB / 1.216 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.8501, allocations: 7.984 kB / 1.216 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.189e-05/0.8501, allocations: 7.984 kB / 1.216 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-06/0.8501, allocations: 8 kB / 1.216 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004048/0.8505, allocations: 391 kB / 1.216 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8505, allocations: 0 / 1.216 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002404/0.8508, allocations: 36 kB / 1.216 GB, free: 4.258 MB / 0.9356 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 9.526e-05/0.8509, allocations: 115.2 kB / 1.217 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001766/0.8511, allocations: 83.86 kB / 1.217 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.8511, allocations: 0 / 1.217 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.032e-05/0.8511, allocations: 39.97 kB / 1.217 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.8515, allocations: 69.84 kB / 1.217 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008892/0.8524, allocations: 0.5885 MB / 1.217 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.8527, allocations: 0.8182 MB / 1.218 GB, free: 2.477 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001145/0.8528, allocations: 50.25 kB / 1.218 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.359e-05/0.8529, allocations: 23.42 kB / 1.218 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.8529, allocations: 0 / 1.218 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of Templates: time 0.00683/0.8598, allocations: 3.587 MB / 1.222 GB, free: 14.88 MB / 0.9512 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