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.00159/0.00159, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001776/0.001775, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.269/2.269, allocations: 390.2 MB / 0.6647 GB, free: 296 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 71.81 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5647/0.567, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Interior): time 0.002805/0.5698, allocations: 2.42 MB / 0.9521 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.571, allocations: 0.9368 MB / 0.953 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.5711, allocations: 3.875 kB / 0.953 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.957e-05/0.5712, allocations: 39.28 kB / 0.953 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002928/0.5715, allocations: 122.5 kB / 0.9531 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.5718, allocations: 166.5 kB / 0.9533 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.5722, allocations: 357.3 kB / 0.9536 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.5723, allocations: 113.3 kB / 0.9537 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.5725, allocations: 120.1 kB / 0.9539 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.5727, allocations: 139.8 kB / 0.954 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.5727, allocations: 19.28 kB / 0.954 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.5728, allocations: 50.75 kB / 0.9541 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.227e-05/0.5728, allocations: 43.25 kB / 0.9541 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.573, allocations: 138.9 kB / 0.9542 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.5733, allocations: 294.9 kB / 0.9545 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.5733, allocations: 4 kB / 0.9545 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5733, allocations: 0 / 0.9545 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.5733, allocations: 0 / 0.9545 GB, free: 5.512 MB / 0.7169 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.0006069/0.5739, allocations: 0.5644 MB / 0.9551 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.574, allocations: 9.094 kB / 0.9551 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.71e-05/0.574, allocations: 52.33 kB / 0.9551 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.5741, allocations: 36.62 kB / 0.9552 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.5742, allocations: 268.3 kB / 0.9554 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.5743, allocations: 11.97 kB / 0.9554 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.5743, allocations: 25.84 kB / 0.9555 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.5746, allocations: 181.5 kB / 0.9556 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.5746, allocations: 0 / 0.9556 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.5746, allocations: 10.94 kB / 0.9556 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.5746, allocations: 7.953 kB / 0.9557 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002749/0.5749, allocations: 132.1 kB / 0.9558 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000618/0.5755, allocations: 0.8051 MB / 0.9566 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/0.5758, allocations: 126.7 kB / 0.9567 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.5759, allocations: 59.73 kB / 0.9567 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.576, allocations: 1.812 kB / 0.9567 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.172e-05/0.576, allocations: 48.28 kB / 0.9568 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.576, allocations: 0 / 0.9568 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004049/0.5764, allocations: 180.9 kB / 0.957 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.986e-05/0.5764, allocations: 52.78 kB / 0.957 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.5766, allocations: 235.5 kB / 0.9572 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.5766, allocations: 27.19 kB / 0.9573 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/0.5767, allocations: 168.5 kB / 0.9574 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.5767, allocations: 40.89 kB / 0.9575 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.5767, allocations: 29.88 kB / 0.9575 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.937e-05/0.5768, allocations: 330.9 kB / 0.9578 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.5769, allocations: 45.45 kB / 0.9578 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-05/0.577, allocations: 32.61 kB / 0.9579 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.5772, allocations: 98.19 kB / 0.958 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.5772, allocations: 1.375 kB / 0.958 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002546/0.5775, allocations: 140.8 kB / 0.9581 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.5775, allocations: 8.562 kB / 0.9581 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.5775, allocations: 3.984 kB / 0.9581 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.5775, allocations: 1.312 kB / 0.9581 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.5776, allocations: 27.55 kB / 0.9581 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.5776, allocations: 1.75 kB / 0.9582 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.173e-05/0.5777, allocations: 21.02 kB / 0.9582 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.5777, allocations: 2.344 kB / 0.9582 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001355/0.5779, allocations: 134.2 kB / 0.9583 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.828e-05/0.578, allocations: 38.38 kB / 0.9583 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001797/0.5782, allocations: 88.55 kB / 0.9584 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.11e-07/0.5782, allocations: 4 kB / 0.9584 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0002357/0.5784, allocations: 131.6 kB / 0.9586 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.743e-06/0.5784, allocations: 6.625 kB / 0.9586 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-06/0.5784, allocations: 3.938 kB / 0.9586 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-06/0.5784, allocations: 1.031 kB / 0.9586 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.5785, allocations: 23.64 kB / 0.9586 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-06/0.5785, allocations: 1 kB / 0.9586 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.658e-05/0.5786, allocations: 24.14 kB / 0.9586 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.5787, allocations: 2.219 kB / 0.9586 GB, free: 2.117 MB / 0.7169 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 4.071e-05/0.5787, allocations: 186 kB / 0.9588 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.5787, allocations: 26.53 kB / 0.9588 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002901/0.579, allocations: 146.4 kB / 0.959 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.579, allocations: 5.141 kB / 0.959 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.5791, allocations: 0.9688 kB / 0.959 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.5791, allocations: 4 kB / 0.959 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.5793, allocations: 274.3 kB / 0.9592 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5793, allocations: 1.094 kB / 0.9592 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.5794, allocations: 30.89 kB / 0.9593 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.5794, allocations: 4.844 kB / 0.9593 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.5794, allocations: 5.125 kB / 0.9593 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5794, allocations: 1.062 kB / 0.9593 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5794, allocations: 0 / 0.9593 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.5797, allocations: 238.1 kB / 0.9595 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.082e-05/0.5797, allocations: 116.7 kB / 0.9596 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.5798, allocations: 5.094 kB / 0.9596 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.5799, allocations: 7.844 kB / 0.9596 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.5799, allocations: 12.42 kB / 0.9596 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.403e-06/0.5799, allocations: 6.156 kB / 0.9596 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001091/0.58, allocations: 170.5 kB / 0.9598 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.58, allocations: 4 kB / 0.9598 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003464/0.5804, allocations: 102.1 kB / 0.9599 GB, free: 1.043 MB / 0.7169 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.0004281/0.5808, allocations: 0.7803 MB / 0.9607 GB, free: 332 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003666/0.5812, allocations: 162.6 kB / 0.9608 GB, free: 260 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5812, allocations: 0.9062 kB / 0.9608 GB, free: 260 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.5813, allocations: 51.56 kB / 0.9609 GB, free: 240 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.5817, allocations: 57.53 kB / 0.9609 GB, free: 208 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.5838, allocations: 2.054 MB / 0.9629 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.584, allocations: 0.7466 MB / 0.9637 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.388e-05/0.5841, allocations: 16.83 kB / 0.9637 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.44e-05/0.5842, allocations: 74.31 kB / 0.9637 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of SimCode: time 1.643e-06/0.5842, allocations: 0 / 0.9637 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4367/1.021, allocations: 4.679 MB / 0.9683 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.723/10.74, allocations: 20.48 kB / 0.9683 GB, free: 11.42 MB / 0.7325 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Convection_Examples_Interior_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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