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.001565/0.001566, allocations: 108 kB / 15.61 MB, free: 152 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.001922/0.001922, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.704/2.704, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 64.34 kB / 0.8992 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2953, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001867/0.2972, allocations: 0.5135 MB / 1.053 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001327/0.2974, allocations: 27.89 kB / 1.053 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.2974, allocations: 0 / 1.053 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.358e-05/0.2974, allocations: 0 / 1.053 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.2976, allocations: 7.938 kB / 1.053 GB, free: 7.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.918e-06/0.2976, allocations: 4 kB / 1.053 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.596e-05/0.2977, allocations: 0 / 1.053 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.434e-05/0.2977, allocations: 4 kB / 1.053 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.224e-05/0.2978, allocations: 4 kB / 1.053 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.855e-05/0.2978, allocations: 3.984 kB / 1.053 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.2979, allocations: 0 / 1.053 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-06/0.2979, allocations: 3.938 kB / 1.053 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.2979, allocations: 4 kB / 1.053 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.2979, allocations: 3.938 kB / 1.053 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.433e-05/0.298, allocations: 3.984 kB / 1.053 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.298, allocations: 4 kB / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.823e-06/0.298, allocations: 0 / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.298, allocations: 0 / 1.053 GB, free: 7.691 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.000301/0.2983, allocations: 311.6 kB / 1.054 GB, free: 7.336 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.2984, allocations: 12.62 kB / 1.054 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.163e-05/0.2984, allocations: 30.75 kB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.513e-05/0.2984, allocations: 4.938 kB / 1.054 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.2985, allocations: 160.4 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.2986, allocations: 4.312 kB / 1.054 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.866e-06/0.2986, allocations: 8.375 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.2987, allocations: 43.97 kB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.2987, allocations: 11.86 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.2987, allocations: 0 / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2987, allocations: 0 / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.219e-05/0.2988, allocations: 4 kB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.2989, allocations: 154.5 kB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.022e-05/0.299, allocations: 49.14 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.501e-05/0.299, allocations: 13.84 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.2991, allocations: 0 / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.2991, allocations: 30.56 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 2.023e-06/0.2991, allocations: 4 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001376/0.2992, allocations: 53.56 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.2993, allocations: 77.11 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.055e-05/0.2994, allocations: 89.86 kB / 1.054 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.2994, allocations: 29.64 kB / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.363e-05/0.2994, allocations: 80.14 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.2994, allocations: 16.12 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.2995, allocations: 14.09 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.2996, allocations: 310.8 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.278e-05/0.2996, allocations: 7.984 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.715e-05/0.2996, allocations: 17.66 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.001e-05/0.2996, allocations: 21.72 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2997, allocations: 0 / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.09e-05/0.2997, allocations: 45.7 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2997, allocations: 11.92 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2998, allocations: 4 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.2998, allocations: 0 / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-05/0.2998, allocations: 4 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2999, allocations: 0 / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.693e-05/0.2999, allocations: 0 / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/0.2999, allocations: 0 / 1.055 GB, free: 5.828 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 7.221e-05/0.3, allocations: 113.9 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-06/0.3, allocations: 3.938 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.3001, allocations: 48.75 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3001, allocations: 3.938 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.3001, allocations: 4 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3001, allocations: 0 / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.855e-05/0.3002, allocations: 153.6 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3002, allocations: 0 / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.159e-05/0.3003, allocations: 4 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3003, allocations: 8 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.3003, allocations: 4 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3003, allocations: 3.938 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.3003, allocations: 0 / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.004e-05/0.3004, allocations: 65.98 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/0.3004, allocations: 81.11 kB / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.3005, allocations: 11.95 kB / 1.055 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.491e-05/0.3005, allocations: 0 / 1.055 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.3005, allocations: 0 / 1.055 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.3005, allocations: 4 kB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.917e-05/0.3006, allocations: 75.28 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3006, allocations: 0 / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001859/0.3008, allocations: 0 / 1.056 GB, free: 5.152 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.000355/0.3011, allocations: 0.6133 MB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.369e-05/0.3012, allocations: 11.88 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3012, allocations: 0 / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.086e-05/0.3012, allocations: 4 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.3014, allocations: 16.27 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002951/0.3017, allocations: 111.6 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.3019, allocations: 0.6768 MB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.806e-05/0.3019, allocations: 0 / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.3019, allocations: 11.44 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of SimCode: time 1.9e-07/0.302, allocations: 0 / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1541/0.4561, allocations: 0.9023 MB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.043/8.499, allocations: 9.922 kB / 1.058 GB, free: 2.758 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