Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Interior,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Convection_Examples_Interior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Interior,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Convection_Examples_Interior",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005462/0.005462, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.001248/0.001248, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.358/2.358, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 59.91 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7671/0.7684, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Interior): time 0.003066/0.7715, allocations: 2.428 MB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.7731, allocations: 0.9253 MB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.7733, allocations: 8.812 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.729e-05/0.7734, allocations: 37.17 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004108/0.7738, allocations: 128.3 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004029/0.7743, allocations: 181.4 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004424/0.7747, allocations: 345.6 kB / 1.091 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000231/0.775, allocations: 115.7 kB / 1.091 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.7752, allocations: 126.3 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.7754, allocations: 137.3 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.507e-05/0.7755, allocations: 23.88 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.7756, allocations: 49.28 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.7757, allocations: 54.2 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.7758, allocations: 135.7 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003925/0.7762, allocations: 296.3 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.7762, allocations: 1.234 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.432e-06/0.7762, allocations: 0 / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.7763, allocations: 0.75 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.00079/0.777, allocations: 0.5718 MB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.7771, allocations: 9.469 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.999e-05/0.7772, allocations: 54.84 kB / 1.093 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.941e-05/0.7772, allocations: 32.16 kB / 1.093 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.7776, allocations: 264 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.7776, allocations: 13.28 kB / 1.093 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.7777, allocations: 25 kB / 1.093 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003854/0.7781, allocations: 183.2 kB / 1.093 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.7781, allocations: 3.938 kB / 1.093 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.7781, allocations: 9.844 kB / 1.093 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.423e-06/0.7781, allocations: 4.594 kB / 1.093 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003457/0.7785, allocations: 134.2 kB / 1.094 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008713/0.7794, allocations: 0.7977 MB / 1.094 GB, free: 476 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/0.7797, allocations: 128.6 kB / 1.094 GB, free: 416 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.7799, allocations: 56.19 kB / 1.094 GB, free: 396 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.7799, allocations: 6.719 kB / 1.094 GB, free: 392 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/0.7799, allocations: 44.73 kB / 1.095 GB, free: 340 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.7799, allocations: 0 / 1.095 GB, free: 340 kB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005182/0.7805, allocations: 174.7 kB / 1.095 GB, free: 264 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.7805, allocations: 52.94 kB / 1.095 GB, free: 200 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.7807, allocations: 237.9 kB / 1.095 GB, free: 52 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.7808, allocations: 26.36 kB / 1.095 GB, free: 20 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.7809, allocations: 154.7 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.931e-05/0.7809, allocations: 52.5 kB / 1.095 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.683e-05/0.781, allocations: 28.83 kB / 1.095 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.7811, allocations: 329.5 kB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.7813, allocations: 44.19 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.7814, allocations: 40.25 kB / 1.096 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/0.7817, allocations: 97.55 kB / 1.096 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.7817, allocations: 0 / 1.096 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003749/0.7821, allocations: 144.5 kB / 1.096 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.7821, allocations: 8.953 kB / 1.096 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.7821, allocations: 1.125 kB / 1.096 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.7822, allocations: 0 / 1.096 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.7823, allocations: 29.64 kB / 1.096 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.7823, allocations: 0.75 kB / 1.096 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.7825, allocations: 15.92 kB / 1.096 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.7825, allocations: 2.562 kB / 1.096 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002067/0.7827, allocations: 134.6 kB / 1.096 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001158/0.7828, allocations: 38.45 kB / 1.096 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002348/0.7831, allocations: 86.69 kB / 1.096 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.71e-07/0.7831, allocations: 1.062 kB / 1.096 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.00032/0.7834, allocations: 140.4 kB / 1.096 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.7834, allocations: 4.312 kB / 1.096 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.7834, allocations: 5.891 kB / 1.096 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-06/0.7834, allocations: 0 / 1.096 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.7836, allocations: 23.98 kB / 1.096 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.7836, allocations: 1.031 kB / 1.096 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.7837, allocations: 11.31 kB / 1.096 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.7837, allocations: 2.984 kB / 1.096 GB, free: 15.12 MB / 0.8731 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 (13): * Single equations (assignments): 13 * 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.0001038/0.7838, allocations: 190.5 kB / 1.097 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.95e-05/0.7839, allocations: 27.08 kB / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004214/0.7843, allocations: 151.3 kB / 1.097 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.7843, allocations: 10.03 kB / 1.097 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7843, allocations: 0.5625 kB / 1.097 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.7844, allocations: 1.312 kB / 1.097 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.7847, allocations: 269.7 kB / 1.097 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.7847, allocations: 8 kB / 1.097 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.7849, allocations: 28.48 kB / 1.097 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.7849, allocations: 5.516 kB / 1.097 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.7849, allocations: 4.875 kB / 1.097 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.7849, allocations: 1.391 kB / 1.097 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.7849, allocations: 3.984 kB / 1.097 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003868/0.7853, allocations: 240.6 kB / 1.097 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.7854, allocations: 110 kB / 1.097 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.7855, allocations: 5.953 kB / 1.097 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.7856, allocations: 6.578 kB / 1.097 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.906e-05/0.7857, allocations: 11.34 kB / 1.097 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.7857, allocations: 6.906 kB / 1.097 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001864/0.7859, allocations: 171.5 kB / 1.098 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7859, allocations: 0 / 1.098 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004749/0.7864, allocations: 95.19 kB / 1.098 GB, free: 14.16 MB / 0.8731 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 (13): * Single equations (assignments): 13 * 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.0007114/0.7871, allocations: 0.794 MB / 1.098 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004719/0.7876, allocations: 153.8 kB / 1.099 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7876, allocations: 0 / 1.099 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.7877, allocations: 51.95 kB / 1.099 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.7882, allocations: 50.33 kB / 1.099 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/0.7909, allocations: 2.05 MB / 1.101 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.7912, allocations: 0.7477 MB / 1.101 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001262/0.7914, allocations: 22.42 kB / 1.101 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.7915, allocations: 76.55 kB / 1.101 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of SimCode: time 6.91e-07/0.7915, allocations: 0 / 1.101 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/0.8164, allocations: 4.756 MB / 1.106 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/8.559, allocations: 7.125 kB / 1.106 GB, free: 10.48 MB / 0.8731 GB (rm -f Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_HeatTransfer_Convection_Examples_Interior.fmu > Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Convection_Examples_Interior.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches