Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example5.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.Example5,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example5",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.00125/0.00125, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.01103/0.01103, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.41/1.41, allocations: 223.3 MB / 240.3 MB, free: 5.371 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.328/2.328, allocations: 390.9 MB / 0.6664 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003257, allocations: 11.94 kB / 0.8161 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5243/0.5246, allocations: 142.4 MB / 0.9552 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0005171/0.5252, allocations: 273.5 kB / 0.9554 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001337/0.5253, allocations: 38.19 kB / 0.9555 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.898e-05/0.5254, allocations: 0 / 0.9555 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.229e-05/0.5254, allocations: 3.938 kB / 0.9555 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.5255, allocations: 5.375 kB / 0.9555 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.085e-05/0.5256, allocations: 10.61 kB / 0.9555 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.049e-05/0.5256, allocations: 12.3 kB / 0.9555 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.841e-05/0.5256, allocations: 1.344 kB / 0.9555 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.156e-05/0.5257, allocations: 3.531 kB / 0.9555 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.179e-05/0.5257, allocations: 11.39 kB / 0.9555 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.5258, allocations: 5.25 kB / 0.9555 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.634e-06/0.5258, allocations: 1.219 kB / 0.9555 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.642e-05/0.5258, allocations: 9.344 kB / 0.9555 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.5259, allocations: 27.11 kB / 0.9555 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.096e-05/0.5259, allocations: 19.91 kB / 0.9556 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.5259, allocations: 0 / 0.9556 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5259, allocations: 1.188 kB / 0.9556 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.685e-06/0.5259, allocations: 0 / 0.9556 GB, free: 7.598 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002678/0.5262, allocations: 326 kB / 0.9559 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.5262, allocations: 14.59 kB / 0.9559 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.96e-05/0.5263, allocations: 30.75 kB / 0.9559 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.029e-05/0.5263, allocations: 2.438 kB / 0.9559 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.5264, allocations: 172.4 kB / 0.9561 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.722e-06/0.5264, allocations: 1.75 kB / 0.9561 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.5264, allocations: 1.812 kB / 0.9561 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.556e-05/0.5265, allocations: 33.09 kB / 0.9561 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.73e-06/0.5265, allocations: 3.938 kB / 0.9561 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-06/0.5265, allocations: 4 kB / 0.9561 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.5265, allocations: 1.406 kB / 0.9561 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.694e-05/0.5266, allocations: 9.5 kB / 0.9561 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.522e-05/0.5267, allocations: 153.9 kB / 0.9563 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.294e-05/0.5267, allocations: 22.17 kB / 0.9563 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.619e-05/0.5267, allocations: 11.47 kB / 0.9563 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.5267, allocations: 0 / 0.9563 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.215e-05/0.5268, allocations: 32.66 kB / 0.9563 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.5268, allocations: 4 kB / 0.9563 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001096/0.5269, allocations: 48.22 kB / 0.9564 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.639e-05/0.5269, allocations: 51.41 kB / 0.9564 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.796e-05/0.527, allocations: 112.1 kB / 0.9565 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.661e-06/0.527, allocations: 25.7 kB / 0.9566 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.826e-05/0.527, allocations: 82.2 kB / 0.9567 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.527, allocations: 7.891 kB / 0.9567 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/0.527, allocations: 10.84 kB / 0.9567 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.617e-05/0.5271, allocations: 319.8 kB / 0.957 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.248e-05/0.5271, allocations: 3.125 kB / 0.957 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.748e-05/0.5271, allocations: 21.55 kB / 0.957 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.337e-05/0.5272, allocations: 24.81 kB / 0.957 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5272, allocations: 1.125 kB / 0.957 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.234e-05/0.5272, allocations: 41.5 kB / 0.9571 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.5273, allocations: 17.06 kB / 0.9571 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.5273, allocations: 0.9375 kB / 0.9571 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.5273, allocations: 0.9688 kB / 0.9571 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.359e-05/0.5273, allocations: 7.109 kB / 0.9571 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.5274, allocations: 1.469 kB / 0.9571 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.247e-05/0.5274, allocations: 1.156 kB / 0.9571 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.5274, allocations: 5.469 kB / 0.9571 GB, free: 5.891 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 4.016e-05/0.5274, allocations: 111.3 kB / 0.9572 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-06/0.5275, allocations: 5.156 kB / 0.9572 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.658e-05/0.5275, allocations: 56.45 kB / 0.9573 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.5275, allocations: 0 / 0.9573 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.5276, allocations: 1.25 kB / 0.9573 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.5276, allocations: 0 / 0.9573 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.01e-05/0.5276, allocations: 163.2 kB / 0.9574 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5276, allocations: 0 / 0.9574 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.275e-05/0.5277, allocations: 7.312 kB / 0.9574 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.5277, allocations: 3.938 kB / 0.9574 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.5277, allocations: 1.125 kB / 0.9574 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5277, allocations: 7.969 kB / 0.9574 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5277, allocations: 1.25 kB / 0.9574 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.862e-05/0.5278, allocations: 74.39 kB / 0.9575 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.5278, allocations: 79.3 kB / 0.9576 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.5278, allocations: 3.938 kB / 0.9576 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.191e-05/0.5279, allocations: 9.312 kB / 0.9576 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.808e-06/0.5279, allocations: 0.9062 kB / 0.9576 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.5279, allocations: 5.219 kB / 0.9576 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.872e-05/0.5279, allocations: 90.58 kB / 0.9577 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5279, allocations: 0 / 0.9577 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001977/0.5281, allocations: 3.094 kB / 0.9577 GB, free: 5.23 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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.0002104/0.5284, allocations: 0.6173 MB / 0.9583 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.679e-05/0.5284, allocations: 13.28 kB / 0.9583 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5284, allocations: 0 / 0.9583 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.244e-05/0.5284, allocations: 12.92 kB / 0.9583 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.5286, allocations: 5.375 kB / 0.9583 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005953/0.5292, allocations: 1.149 MB / 0.9594 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.76e-05/0.5293, allocations: 0.6823 MB / 0.9601 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.454e-05/0.5293, allocations: 6.328 kB / 0.9601 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.5293, allocations: 8.562 kB / 0.9601 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of SimCode: time 3.9e-07/0.5293, allocations: 0 / 0.9601 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.077/1.606, allocations: 0.9903 MB / 0.9611 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000138/1.606, allocations: 193 kB / 0.9613 GB, free: 2 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.986/4.593, allocations: 7.875 kB / 0.9613 GB, free: 1.992 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example5_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches