Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_latest_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.00108/0.00108, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001279/0.00128, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.317/1.317, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.607/2.607, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 65.28 kB / 0.8985 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3174, allocations: 157.4 MB / 1.052 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.002057/0.3195, allocations: 0.584 MB / 1.053 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001538/0.3197, allocations: 15.92 kB / 1.053 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.654e-05/0.3197, allocations: 0 / 1.053 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.094e-05/0.3198, allocations: 0 / 1.053 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.3199, allocations: 4 kB / 1.053 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.136e-06/0.3199, allocations: 0 / 1.053 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.898e-05/0.32, allocations: 4 kB / 1.053 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.945e-05/0.32, allocations: 7.984 kB / 1.053 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.438e-05/0.3201, allocations: 7.922 kB / 1.053 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.997e-05/0.3201, allocations: 7.938 kB / 1.053 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.3201, allocations: 0 / 1.053 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.925e-06/0.3202, allocations: 0 / 1.053 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.3202, allocations: 4 kB / 1.053 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.828e-05/0.3202, allocations: 0 / 1.053 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.473e-05/0.3202, allocations: 3.938 kB / 1.053 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3203, allocations: 0 / 1.053 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3203, allocations: 0 / 1.053 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.3203, allocations: 0 / 1.053 GB, free: 7.609 MB / 0.8106 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.0003232/0.3206, allocations: 315.6 kB / 1.053 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.3207, allocations: 19.97 kB / 1.053 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.3207, allocations: 30.75 kB / 1.053 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.418e-05/0.3207, allocations: 0.9375 kB / 1.053 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.3208, allocations: 160.4 kB / 1.053 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.3209, allocations: 4.375 kB / 1.053 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.198e-06/0.3209, allocations: 4.375 kB / 1.053 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.321, allocations: 47.91 kB / 1.053 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.321, allocations: 15.86 kB / 1.053 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.321, allocations: 4 kB / 1.053 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.321, allocations: 0 / 1.053 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.152e-05/0.3211, allocations: 0 / 1.053 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.3212, allocations: 158.5 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.246e-05/0.3213, allocations: 37.16 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.285e-05/0.3213, allocations: 9.844 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.3214, allocations: 8 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.3214, allocations: 38.56 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3214, allocations: 0 / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000157/0.3216, allocations: 45.56 kB / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.3216, allocations: 81.11 kB / 1.054 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.414e-05/0.3217, allocations: 102 kB / 1.054 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.3217, allocations: 25.7 kB / 1.054 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.681e-05/0.3218, allocations: 80.14 kB / 1.054 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.3218, allocations: 16.11 kB / 1.054 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.3218, allocations: 9.719 kB / 1.054 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3219, allocations: 318.8 kB / 1.054 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.322, allocations: 4 kB / 1.054 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.628e-05/0.322, allocations: 9.844 kB / 1.054 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.394e-05/0.322, allocations: 21.78 kB / 1.054 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.322, allocations: 0 / 1.054 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.2e-05/0.3221, allocations: 45.62 kB / 1.054 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3221, allocations: 11.88 kB / 1.054 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.3221, allocations: 0 / 1.054 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3222, allocations: 4 kB / 1.054 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.373e-05/0.3222, allocations: 0 / 1.054 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3223, allocations: 12.05 kB / 1.054 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.856e-05/0.3223, allocations: 0 / 1.054 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.3223, allocations: 0 / 1.054 GB, free: 5.73 MB / 0.8106 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 8.543e-05/0.3224, allocations: 109.8 kB / 1.054 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.3224, allocations: 3.938 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.3225, allocations: 48.75 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3225, allocations: 64 / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3225, allocations: 7.984 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3226, allocations: 4 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.3227, allocations: 149.6 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3227, allocations: 3.938 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.716e-05/0.3227, allocations: 4 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3227, allocations: 3.938 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.3227, allocations: 7.984 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3227, allocations: 0 / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3227, allocations: 3.938 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.69e-05/0.3228, allocations: 66 kB / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.3229, allocations: 85.09 kB / 1.055 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.3229, allocations: 7.938 kB / 1.055 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.608e-05/0.323, allocations: 0 / 1.055 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.323, allocations: 0 / 1.055 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.323, allocations: 11.94 kB / 1.055 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.814e-05/0.323, allocations: 79.31 kB / 1.055 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.323, allocations: 0 / 1.055 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000192/0.3232, allocations: 0 / 1.055 GB, free: 5.043 MB / 0.8106 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.0003648/0.3236, allocations: 0.5977 MB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.379e-05/0.3237, allocations: 24.05 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3237, allocations: 0 / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.959e-06/0.3237, allocations: 4 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.3239, allocations: 4 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.3242, allocations: 117.2 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.3244, allocations: 0.6734 MB / 1.056 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.489e-05/0.3244, allocations: 8 kB / 1.056 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.3245, allocations: 11.38 kB / 1.056 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of SimCode: time 6.81e-07/0.3245, allocations: 0 / 1.056 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07601/0.4005, allocations: 0.7962 MB / 1.057 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/0.4007, allocations: 202.6 kB / 1.057 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.841/2.242, allocations: 0 / 1.057 GB, free: 2.535 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches