Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",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.008734/0.008734, allocations: 98.06 kB / 15.73 MB, free: 6.02 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.002459/0.002459, allocations: 194.2 kB / 16.67 MB, free: 5.934 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.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.889/2.889, allocations: 482.4 MB / 0.7548 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 60.12 kB / 1.083 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3013, allocations: 162.2 MB / 1.241 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.7329/1.034, allocations: 161.4 MB / 1.399 GB, free: 13.45 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.005818/1.04, allocations: 4.559 MB / 1.404 GB, free: 9.766 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003126/1.04, allocations: 10.22 kB / 1.404 GB, free: 9.762 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0004205/1.041, allocations: 125.4 kB / 1.404 GB, free: 9.652 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00087/1.042, allocations: 327.4 kB / 1.404 GB, free: 9.402 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008028/1.043, allocations: 279.2 kB / 1.404 GB, free: 9.203 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0007526/1.043, allocations: 0.5532 MB / 1.405 GB, free: 8.887 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003733/1.044, allocations: 199.9 kB / 1.405 GB, free: 8.773 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001518/1.045, allocations: 0.6506 MB / 1.406 GB, free: 8.348 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003378/1.046, allocations: 193.1 kB / 1.406 GB, free: 8.234 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/1.046, allocations: 15.78 kB / 1.406 GB, free: 8.234 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/1.046, allocations: 76.34 kB / 1.406 GB, free: 8.207 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/1.046, allocations: 84.59 kB / 1.406 GB, free: 8.152 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.000143/1.046, allocations: 122.3 kB / 1.406 GB, free: 8.074 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0004282/1.047, allocations: 296.8 kB / 1.406 GB, free: 7.887 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/1.047, allocations: 9.016 kB / 1.406 GB, free: 7.879 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.323e-06/1.047, allocations: 0 / 1.406 GB, free: 7.879 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.183e-05/1.047, allocations: 0 / 1.406 GB, free: 7.879 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009324/1.048, allocations: 0.537 MB / 1.407 GB, free: 7.375 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/1.048, allocations: 8.5 kB / 1.407 GB, free: 7.375 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.635e-05/1.048, allocations: 57.33 kB / 1.407 GB, free: 7.316 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.473e-05/1.048, allocations: 32.88 kB / 1.407 GB, free: 7.297 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/1.048, allocations: 293.4 kB / 1.407 GB, free: 7.016 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/1.048, allocations: 15.89 kB / 1.407 GB, free: 7.008 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.357e-05/1.048, allocations: 24.25 kB / 1.407 GB, free: 7 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/1.049, allocations: 260.9 kB / 1.408 GB, free: 6.789 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/1.049, allocations: 1 kB / 1.408 GB, free: 6.789 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/1.049, allocations: 10.34 kB / 1.408 GB, free: 6.781 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/1.049, allocations: 5.562 kB / 1.408 GB, free: 6.781 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003619/1.049, allocations: 155.7 kB / 1.408 GB, free: 6.703 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/1.051, allocations: 1.363 MB / 1.409 GB, free: 5.398 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/1.051, allocations: 180.5 kB / 1.409 GB, free: 5.211 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/1.051, allocations: 96.23 kB / 1.409 GB, free: 5.133 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003688/1.052, allocations: 114.8 kB / 1.409 GB, free: 5.023 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/1.052, allocations: 49.75 kB / 1.409 GB, free: 4.969 MB / 1.107 GB Notification: Performance of pre-optimization done (n=10): time 1.734e-06/1.052, allocations: 0 / 1.409 GB, free: 4.969 MB / 1.107 GB Notification: Performance of matching and sorting (n=10): time 0.0006374/1.052, allocations: 207.3 kB / 1.41 GB, free: 4.852 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/1.052, allocations: 186.3 kB / 1.41 GB, free: 4.629 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/1.053, allocations: 288.9 kB / 1.41 GB, free: 4.438 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/1.053, allocations: 31.89 kB / 1.41 GB, free: 4.402 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/1.053, allocations: 152.5 kB / 1.41 GB, free: 4.262 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/1.053, allocations: 36.23 kB / 1.41 GB, free: 4.23 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.634e-05/1.053, allocations: 35.14 kB / 1.41 GB, free: 4.203 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001603/1.053, allocations: 340.6 kB / 1.411 GB, free: 3.867 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/1.053, allocations: 47.95 kB / 1.411 GB, free: 3.844 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/1.054, allocations: 113.5 kB / 1.411 GB, free: 3.742 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/1.054, allocations: 157.2 kB / 1.411 GB, free: 3.621 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.054, allocations: 4.906 kB / 1.411 GB, free: 3.617 MB / 1.107 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004281/1.054, allocations: 187.6 kB / 1.411 GB, free: 3.512 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/1.054, allocations: 11.47 kB / 1.411 GB, free: 3.508 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.054, allocations: 2.438 kB / 1.411 GB, free: 3.508 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/1.054, allocations: 2.844 kB / 1.411 GB, free: 3.508 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/1.055, allocations: 35.64 kB / 1.411 GB, free: 3.496 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/1.055, allocations: 6.547 kB / 1.411 GB, free: 3.492 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/1.055, allocations: 26.72 kB / 1.411 GB, free: 3.477 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/1.055, allocations: 10.92 kB / 1.411 GB, free: 3.473 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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 0.0001583/1.055, allocations: 150.2 kB / 1.411 GB, free: 3.332 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/1.055, allocations: 28.8 kB / 1.411 GB, free: 3.316 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003504/1.055, allocations: 133.9 kB / 1.412 GB, free: 3.227 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/1.056, allocations: 2.312 kB / 1.412 GB, free: 3.227 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/1.056, allocations: 1.406 kB / 1.412 GB, free: 3.227 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/1.056, allocations: 6.328 kB / 1.412 GB, free: 3.223 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009384/1.056, allocations: 0.771 MB / 1.412 GB, free: 2.461 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.056, allocations: 2.531 kB / 1.412 GB, free: 2.461 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/1.057, allocations: 21.25 kB / 1.412 GB, free: 2.457 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.812e-06/1.057, allocations: 5.328 kB / 1.412 GB, free: 2.453 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/1.057, allocations: 10.48 kB / 1.412 GB, free: 2.445 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/1.057, allocations: 2.656 kB / 1.412 GB, free: 2.445 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.057, allocations: 5.25 kB / 1.412 GB, free: 2.441 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005904/1.057, allocations: 344.5 kB / 1.413 GB, free: 2.168 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/1.057, allocations: 112.5 kB / 1.413 GB, free: 2.051 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/1.057, allocations: 6.125 kB / 1.413 GB, free: 2.047 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/1.058, allocations: 12.55 kB / 1.413 GB, free: 2.039 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/1.058, allocations: 13.53 kB / 1.413 GB, free: 2.031 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/1.058, allocations: 8.219 kB / 1.413 GB, free: 2.027 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002226/1.058, allocations: 208.7 kB / 1.413 GB, free: 1.891 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/1.058, allocations: 0 / 1.413 GB, free: 1.891 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003687/1.058, allocations: 58.64 kB / 1.413 GB, free: 1.879 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.001123/1.059, allocations: 0.9018 MB / 1.414 GB, free: 1.07 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0003908/1.06, allocations: 119.5 kB / 1.414 GB, free: 1.02 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.06, allocations: 0.5 kB / 1.414 GB, free: 1.02 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/1.06, allocations: 61.69 kB / 1.414 GB, free: 0.9922 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000806/1.061, allocations: 135.5 kB / 1.414 GB, free: 0.9297 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/1.064, allocations: 2.615 MB / 1.417 GB, free: 14.87 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/1.065, allocations: 0.7575 MB / 1.418 GB, free: 14.13 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001639/1.065, allocations: 51.5 kB / 1.418 GB, free: 14.11 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/1.065, allocations: 66.33 kB / 1.418 GB, free: 14.06 MB / 1.123 GB Notification: Performance of SimCode: time 2.8e-07/1.065, allocations: 4 kB / 1.418 GB, free: 14.05 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02962/1.095, allocations: 6.878 MB / 1.424 GB, free: 10.62 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.072/9.166, allocations: 8.562 kB / 1.424 GB, free: 10.62 MB / 1.123 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches