Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_11_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.005313/0.005313, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001405/0.001405, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.225/1.225, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.371/2.371, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 71.88 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6145/0.6162, allocations: 159.1 MB / 1.22 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001435/0.6177, allocations: 0.5134 MB / 1.221 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001131/0.6178, allocations: 25.88 kB / 1.221 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.485e-05/0.6179, allocations: 0 / 1.221 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.051e-05/0.6179, allocations: 3.938 kB / 1.221 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.618, allocations: 3.938 kB / 1.221 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 2.805e-06/0.618, allocations: 4 kB / 1.221 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 3.936e-05/0.6181, allocations: 0 / 1.221 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.6181, allocations: 4 kB / 1.221 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.729e-05/0.6181, allocations: 3.984 kB / 1.221 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.349e-05/0.6182, allocations: 3.984 kB / 1.221 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.6182, allocations: 0 / 1.221 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.29e-06/0.6182, allocations: 4 kB / 1.221 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.668e-06/0.6182, allocations: 4 kB / 1.221 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.134e-05/0.6183, allocations: 7.875 kB / 1.221 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 3.78e-05/0.6183, allocations: 0 / 1.221 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.6183, allocations: 0 / 1.221 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6183, allocations: 0 / 1.221 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.6183, allocations: 0 / 1.221 GB, free: 1.473 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.000276/0.6186, allocations: 315.5 kB / 1.221 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.6186, allocations: 16.02 kB / 1.221 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.93e-05/0.6187, allocations: 34.75 kB / 1.221 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.749e-05/0.6187, allocations: 0.9375 kB / 1.221 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.6188, allocations: 160.4 kB / 1.221 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.6188, allocations: 4.312 kB / 1.221 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.6188, allocations: 4.375 kB / 1.221 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.354e-05/0.6189, allocations: 43.98 kB / 1.221 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.6189, allocations: 11.86 kB / 1.221 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.619, allocations: 0 / 1.221 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.619, allocations: 4 kB / 1.221 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.956e-05/0.619, allocations: 4 kB / 1.221 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.6191, allocations: 157.2 kB / 1.221 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.519e-05/0.6192, allocations: 41.09 kB / 1.221 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.605e-05/0.6192, allocations: 25.81 kB / 1.221 GB, free: 496 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.6193, allocations: 4 kB / 1.222 GB, free: 492 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.6193, allocations: 30.56 kB / 1.222 GB, free: 452 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.6193, allocations: 0 / 1.222 GB, free: 452 kB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001224/0.6194, allocations: 49.58 kB / 1.222 GB, free: 396 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.6195, allocations: 81.09 kB / 1.222 GB, free: 296 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.629e-05/0.6195, allocations: 90.2 kB / 1.222 GB, free: 196 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.6196, allocations: 29.73 kB / 1.222 GB, free: 160 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.032e-05/0.6196, allocations: 84.12 kB / 1.222 GB, free: 72 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.6196, allocations: 7.953 kB / 1.222 GB, free: 64 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.6197, allocations: 13.72 kB / 1.222 GB, free: 44 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.6198, allocations: 310.8 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.247e-06/0.6198, allocations: 4 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.765e-05/0.6198, allocations: 17.64 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.183e-05/0.6199, allocations: 25.78 kB / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6199, allocations: 0 / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.82e-05/0.6199, allocations: 37.64 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.6199, allocations: 7.938 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.62, allocations: 7.984 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.118e-06/0.62, allocations: 0 / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.511e-05/0.62, allocations: 4 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.62, allocations: 0 / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.439e-05/0.6201, allocations: 4.062 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.6201, allocations: 0 / 1.222 GB, free: 15.61 MB / 0.9512 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.168e-05/0.6201, allocations: 116.5 kB / 1.222 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.035e-05/0.6202, allocations: 3.938 kB / 1.222 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.876e-05/0.6203, allocations: 52.7 kB / 1.222 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.6203, allocations: 0 / 1.222 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.6203, allocations: 4.062 kB / 1.222 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.6203, allocations: 4 kB / 1.222 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.6204, allocations: 145.7 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.6204, allocations: 0 / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.994e-05/0.6204, allocations: 4 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.6204, allocations: 11.88 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.6205, allocations: 0 / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.6205, allocations: 7.875 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.6205, allocations: 0 / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.695e-05/0.6205, allocations: 69.98 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-05/0.6206, allocations: 81.11 kB / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.6206, allocations: 7.938 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.613e-05/0.6206, allocations: 3.984 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.6207, allocations: 4 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.6207, allocations: 4 kB / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.312e-05/0.6207, allocations: 75.28 kB / 1.223 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6207, allocations: 4.125 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001727/0.6209, allocations: 4 kB / 1.223 GB, free: 14.91 MB / 0.9512 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.0003552/0.6213, allocations: 0.603 MB / 1.223 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.87e-05/0.6213, allocations: 15.97 kB / 1.223 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6213, allocations: 0 / 1.223 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.318e-06/0.6214, allocations: 4 kB / 1.223 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001201/0.6215, allocations: 7.984 kB / 1.223 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.6217, allocations: 111.4 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.622, allocations: 0.6768 MB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.886e-05/0.622, allocations: 8.156 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.066e-05/0.6221, allocations: 7.438 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.6221, allocations: 0 / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9248/1.547, allocations: 0.9245 MB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.26/15.81, allocations: 6.562 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Examples.Performance.Example8_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches