Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example8.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example8",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.000935/0.0009352, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005273/0.005273, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.351/1.351, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.257/2.257, allocations: 390.9 MB / 0.6664 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.0003269, allocations: 8 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5619/0.5622, allocations: 142.4 MB / 0.9552 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.000516/0.5628, allocations: 255 kB / 0.9554 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.963e-05/0.5629, allocations: 15.06 kB / 0.9554 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.947e-05/0.5629, allocations: 0.9062 kB / 0.9554 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.888e-06/0.5629, allocations: 0 / 0.9554 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.5631, allocations: 9.203 kB / 0.9554 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.525e-06/0.5631, allocations: 1.656 kB / 0.9554 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.464e-05/0.5631, allocations: 5.938 kB / 0.9554 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.797e-05/0.5632, allocations: 1.031 kB / 0.9554 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.007e-05/0.5632, allocations: 4.906 kB / 0.9554 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.412e-05/0.5632, allocations: 6.438 kB / 0.9554 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.5633, allocations: 0 / 0.9554 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.632e-06/0.5633, allocations: 0 / 0.9554 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.227e-06/0.5633, allocations: 7.922 kB / 0.9554 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.627e-05/0.5633, allocations: 31.08 kB / 0.9555 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.046e-05/0.5633, allocations: 1.375 kB / 0.9555 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.5633, allocations: 0 / 0.9555 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5634, allocations: 0 / 0.9555 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.655e-06/0.5634, allocations: 0 / 0.9555 GB, free: 7.473 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001661/0.5635, allocations: 314.6 kB / 0.9558 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.5636, allocations: 13.84 kB / 0.9558 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.315e-05/0.5636, allocations: 30.75 kB / 0.9558 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.926e-05/0.5636, allocations: 6.312 kB / 0.9558 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.466e-05/0.5637, allocations: 168.3 kB / 0.956 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.5637, allocations: 1.406 kB / 0.956 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-06/0.5637, allocations: 1.531 kB / 0.956 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.61e-05/0.5638, allocations: 43.44 kB / 0.956 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.5638, allocations: 7.938 kB / 0.956 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.5638, allocations: 8 kB / 0.956 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.5638, allocations: 1 kB / 0.956 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.095e-05/0.5639, allocations: 7.281 kB / 0.9561 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.658e-05/0.564, allocations: 156.7 kB / 0.9562 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.417e-05/0.564, allocations: 33.12 kB / 0.9562 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.554e-05/0.564, allocations: 11.19 kB / 0.9562 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.564, allocations: 5.281 kB / 0.9563 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.5641, allocations: 39.81 kB / 0.9563 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.5641, allocations: 0 / 0.9563 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001087/0.5642, allocations: 46.69 kB / 0.9563 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.5642, allocations: 78.61 kB / 0.9564 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.41e-05/0.5642, allocations: 98.98 kB / 0.9565 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.5643, allocations: 26.86 kB / 0.9565 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.258e-06/0.5643, allocations: 84.08 kB / 0.9566 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.5643, allocations: 7.312 kB / 0.9566 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.788e-05/0.5643, allocations: 13.7 kB / 0.9566 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.433e-05/0.5644, allocations: 311.7 kB / 0.9569 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-06/0.5644, allocations: 1.438 kB / 0.9569 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.116e-05/0.5644, allocations: 16.31 kB / 0.9569 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.504e-05/0.5644, allocations: 23 kB / 0.957 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5644, allocations: 1.125 kB / 0.957 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.219e-05/0.5645, allocations: 41.97 kB / 0.957 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.5645, allocations: 10.56 kB / 0.957 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.5645, allocations: 3.984 kB / 0.957 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.5645, allocations: 1.312 kB / 0.957 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.641e-05/0.5646, allocations: 6.594 kB / 0.957 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.5646, allocations: 5.125 kB / 0.957 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.688e-05/0.5646, allocations: 5.188 kB / 0.957 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.5646, allocations: 1.406 kB / 0.957 GB, free: 5.684 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 3.632e-05/0.5647, allocations: 107.3 kB / 0.9571 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-06/0.5647, allocations: 9.484 kB / 0.9572 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.315e-05/0.5648, allocations: 48.97 kB / 0.9572 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.5648, allocations: 1.531 kB / 0.9572 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5648, allocations: 4 kB / 0.9572 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5648, allocations: 1.375 kB / 0.9572 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.924e-05/0.5648, allocations: 147.1 kB / 0.9573 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.5649, allocations: 1.281 kB / 0.9573 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.085e-05/0.5649, allocations: 2.469 kB / 0.9573 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.5649, allocations: 9.328 kB / 0.9574 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.5649, allocations: 1.562 kB / 0.9574 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5649, allocations: 0 / 0.9574 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.5649, allocations: 1.438 kB / 0.9574 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.378e-05/0.565, allocations: 70.19 kB / 0.9574 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.889e-05/0.565, allocations: 82.28 kB / 0.9575 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.565, allocations: 5.219 kB / 0.9575 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.633e-05/0.565, allocations: 1.094 kB / 0.9575 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.091e-05/0.5651, allocations: 0.875 kB / 0.9575 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.5651, allocations: 1.375 kB / 0.9575 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.501e-05/0.5651, allocations: 80.75 kB / 0.9576 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5651, allocations: 3.938 kB / 0.9576 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001886/0.5653, allocations: 5.438 kB / 0.9576 GB, free: 5.043 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001946/0.5655, allocations: 0.6095 MB / 0.9582 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.525e-05/0.5655, allocations: 14.52 kB / 0.9582 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5655, allocations: 0 / 0.9582 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.966e-06/0.5656, allocations: 3.938 kB / 0.9582 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.5657, allocations: 6.469 kB / 0.9582 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002301/0.5659, allocations: 121.3 kB / 0.9583 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.295e-05/0.566, allocations: 0.6719 MB / 0.959 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.552e-05/0.566, allocations: 5.406 kB / 0.959 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.919e-05/0.5661, allocations: 8.812 kB / 0.959 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of SimCode: time 4.1e-07/0.5661, allocations: 0 / 0.959 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.088/1.654, allocations: 0.7377 MB / 0.9597 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001531/1.655, allocations: 185.8 kB / 0.9599 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/3.449, allocations: 3.938 kB / 0.9599 GB, free: 2.941 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example8_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches