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.008385/0.008393, allocations: 99.56 kB / 15.73 MB, free: 6.035 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.001907/0.001907, allocations: 193.3 kB / 16.67 MB, free: 5.961 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.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.478/2.478, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 62.28 kB / 0.9504 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2592, allocations: 140.4 MB / 1.087 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Interior): time 0.003383/0.2626, allocations: 2.417 MB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.2642, allocations: 0.9391 MB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.2644, allocations: 4 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.854e-05/0.2645, allocations: 43.58 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004016/0.2649, allocations: 123 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.2653, allocations: 175.7 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004461/0.2658, allocations: 354.3 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.266, allocations: 119.6 kB / 1.092 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.2662, allocations: 139.5 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.2664, allocations: 135.4 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.045e-05/0.2664, allocations: 20 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.2666, allocations: 47.97 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.244e-05/0.2666, allocations: 47.78 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.2668, allocations: 143.2 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003289/0.2671, allocations: 294.8 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2671, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2671, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.2671, allocations: 0 / 1.092 GB, free: 13.04 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.000773/0.2679, allocations: 0.5686 MB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.268, allocations: 8.031 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.165e-05/0.268, allocations: 54.73 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.571e-05/0.2681, allocations: 40.69 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.2684, allocations: 270.9 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.2684, allocations: 16.81 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.2685, allocations: 20.38 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.2688, allocations: 183.3 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2689, allocations: 0 / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.2689, allocations: 12 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.2689, allocations: 4 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.2692, allocations: 137.6 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009027/0.2701, allocations: 0.8043 MB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003259/0.2705, allocations: 130.5 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.2707, allocations: 60.83 kB / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.2707, allocations: 7.984 kB / 1.095 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.2707, allocations: 38.5 kB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.2707, allocations: 0 / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0004909/0.2712, allocations: 173.5 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.2713, allocations: 51.41 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.2715, allocations: 246.6 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.2715, allocations: 25.7 kB / 1.095 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.924e-05/0.2716, allocations: 156.4 kB / 1.095 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.2716, allocations: 39.64 kB / 1.095 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.2717, allocations: 29.66 kB / 1.095 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2718, allocations: 334.8 kB / 1.096 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.272, allocations: 48.83 kB / 1.096 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.2721, allocations: 47.72 kB / 1.096 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.2723, allocations: 84.81 kB / 1.096 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2723, allocations: 0 / 1.096 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003113/0.2726, allocations: 137.5 kB / 1.096 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.2727, allocations: 7.938 kB / 1.096 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.2727, allocations: 4 kB / 1.096 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.2727, allocations: 4 kB / 1.096 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.2728, allocations: 31.91 kB / 1.096 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.2728, allocations: 0 / 1.096 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.273, allocations: 15.89 kB / 1.096 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.273, allocations: 4.109 kB / 1.096 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001737/0.2732, allocations: 144 kB / 1.096 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.942e-05/0.2733, allocations: 35.97 kB / 1.096 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002085/0.2735, allocations: 92.69 kB / 1.096 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.01e-07/0.2735, allocations: 0 / 1.096 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0002797/0.2738, allocations: 133.5 kB / 1.096 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.083e-06/0.2738, allocations: 4 kB / 1.096 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/0.2738, allocations: 3.938 kB / 1.096 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.408e-06/0.2738, allocations: 4 kB / 1.096 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.2739, allocations: 19.98 kB / 1.096 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.2739, allocations: 8 kB / 1.096 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.519e-05/0.274, allocations: 15.94 kB / 1.096 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.274, allocations: 3.938 kB / 1.096 GB, free: 8.539 MB / 0.8575 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 8.641e-05/0.2741, allocations: 188.2 kB / 1.097 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.77e-05/0.2742, allocations: 27.8 kB / 1.097 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003399/0.2745, allocations: 147.4 kB / 1.097 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.2746, allocations: 4 kB / 1.097 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2746, allocations: 4 kB / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2746, allocations: 0 / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.2749, allocations: 273.6 kB / 1.097 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2749, allocations: 0 / 1.097 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.275, allocations: 23.98 kB / 1.097 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.275, allocations: 7.875 kB / 1.097 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.275, allocations: 4 kB / 1.097 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.275, allocations: 4 kB / 1.097 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.275, allocations: 0 / 1.097 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.2754, allocations: 239.4 kB / 1.097 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.33e-05/0.2755, allocations: 112.9 kB / 1.097 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.2755, allocations: 4 kB / 1.097 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.2756, allocations: 11.98 kB / 1.097 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.2757, allocations: 7.984 kB / 1.097 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.2757, allocations: 8 kB / 1.097 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001469/0.2758, allocations: 174 kB / 1.098 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2758, allocations: 0 / 1.098 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003848/0.2762, allocations: 99.73 kB / 1.098 GB, free: 7.129 MB / 0.8575 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.0006396/0.2769, allocations: 0.79 MB / 1.098 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004062/0.2773, allocations: 151.8 kB / 1.099 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2773, allocations: 0 / 1.099 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.2774, allocations: 55.91 kB / 1.099 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.2779, allocations: 54.08 kB / 1.099 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.2802, allocations: 2.061 MB / 1.101 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.2805, allocations: 0.744 MB / 1.101 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.83e-05/0.2806, allocations: 25.52 kB / 1.101 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.862e-05/0.2807, allocations: 75.41 kB / 1.102 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of SimCode: time 3e-07/0.2807, allocations: 4 kB / 1.102 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/0.3009, allocations: 4.752 MB / 1.106 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.823/8.124, allocations: 9.562 kB / 1.106 GB, free: 14.41 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