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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007678/0.007678, allocations: 102 kB / 15.73 MB, free: 6.039 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.001947/0.001947, allocations: 193 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.568/2.568, allocations: 461.9 MB / 0.7348 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 67.89 kB / 1.054 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7844/0.7857, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001638/0.7874, allocations: 0.5283 MB / 1.208 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001335/0.7876, allocations: 17.94 kB / 1.208 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.957e-05/0.7876, allocations: 0 / 1.208 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.289e-05/0.7876, allocations: 0 / 1.208 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.7878, allocations: 11.92 kB / 1.208 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.643e-06/0.7879, allocations: 0 / 1.208 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.872e-05/0.7879, allocations: 7.938 kB / 1.208 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.031e-05/0.788, allocations: 4 kB / 1.208 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.879e-05/0.788, allocations: 4 kB / 1.208 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.2e-05/0.7881, allocations: 3.984 kB / 1.208 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.7881, allocations: 0 / 1.208 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.462e-06/0.7881, allocations: 0 / 1.208 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.7881, allocations: 3.938 kB / 1.208 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.98e-05/0.7881, allocations: 3.938 kB / 1.208 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 5.626e-05/0.7882, allocations: 7.984 kB / 1.208 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.7882, allocations: 0 / 1.208 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.522e-06/0.7882, allocations: 0 / 1.208 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.7882, allocations: 0 / 1.208 GB, free: 12.95 MB / 0.9356 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.0003145/0.7886, allocations: 315.6 kB / 1.208 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.7886, allocations: 8.031 kB / 1.208 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.7886, allocations: 34.75 kB / 1.208 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.47e-05/0.7887, allocations: 0.9375 kB / 1.208 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.7888, allocations: 164.4 kB / 1.208 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.7888, allocations: 384 / 1.208 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.7888, allocations: 384 / 1.208 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.7889, allocations: 47.98 kB / 1.208 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.7889, allocations: 7.875 kB / 1.208 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.789, allocations: 0 / 1.208 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.789, allocations: 4 kB / 1.208 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.454e-05/0.789, allocations: 3.984 kB / 1.208 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001483/0.7891, allocations: 158.5 kB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.405e-05/0.7892, allocations: 37.22 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.273e-05/0.7893, allocations: 13.72 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.7893, allocations: 4.047 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.7893, allocations: 42.5 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.7893, allocations: 0 / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001361/0.7895, allocations: 45.48 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.7895, allocations: 81.36 kB / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.094e-05/0.7896, allocations: 101.8 kB / 1.209 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.7896, allocations: 25.7 kB / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.482e-05/0.7896, allocations: 80.14 kB / 1.209 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.7897, allocations: 2.25 kB / 1.209 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.7897, allocations: 13.72 kB / 1.209 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.7898, allocations: 314.8 kB / 1.209 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.318e-05/0.7898, allocations: 0 / 1.209 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.414e-05/0.7898, allocations: 21.78 kB / 1.209 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.339e-05/0.7899, allocations: 21.7 kB / 1.209 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.7899, allocations: 4 kB / 1.209 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.263e-05/0.7899, allocations: 45.55 kB / 1.209 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.79, allocations: 7.938 kB / 1.209 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.79, allocations: 0 / 1.209 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.79, allocations: 8.109 kB / 1.209 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/0.7901, allocations: 7.984 kB / 1.209 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.7901, allocations: 0 / 1.209 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.944e-05/0.7901, allocations: 4 kB / 1.209 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.7901, allocations: 0 / 1.209 GB, free: 11.09 MB / 0.9356 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 6.29e-05/0.7902, allocations: 105.8 kB / 1.209 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.7902, allocations: 11.94 kB / 1.209 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.7903, allocations: 48.75 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.7903, allocations: 0 / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.7903, allocations: 0 / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.7903, allocations: 0 / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.647e-05/0.7904, allocations: 157.7 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7904, allocations: 0 / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.656e-05/0.7905, allocations: 4 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.7905, allocations: 3.938 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.7905, allocations: 0 / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.7905, allocations: 7.938 kB / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7905, allocations: 64 / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.317e-05/0.7906, allocations: 69.98 kB / 1.21 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/0.7907, allocations: 81.05 kB / 1.21 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.7907, allocations: 7.938 kB / 1.21 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.536e-05/0.7907, allocations: 3.938 kB / 1.21 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.7907, allocations: 7.984 kB / 1.21 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.7907, allocations: 4.031 kB / 1.21 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.9e-05/0.7908, allocations: 79.28 kB / 1.21 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7908, allocations: 0 / 1.21 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001898/0.791, allocations: 0 / 1.21 GB, free: 10.4 MB / 0.9356 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.0003539/0.7913, allocations: 0.6094 MB / 1.211 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.839e-05/0.7914, allocations: 15.94 kB / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.7914, allocations: 0 / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.004e-05/0.7914, allocations: 4 kB / 1.211 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.7916, allocations: 1.719 kB / 1.211 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.7919, allocations: 127.6 kB / 1.211 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.7921, allocations: 0.6768 MB / 1.211 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.931e-05/0.7921, allocations: 3.984 kB / 1.211 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.7922, allocations: 7.438 kB / 1.211 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.7922, allocations: 0 / 1.211 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.809, allocations: 0.9253 MB / 1.212 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.353/8.162, allocations: 17.42 kB / 1.212 GB, free: 7.996 MB / 0.9356 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