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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.005918/0.005918, allocations: 97.92 kB / 15.73 MB, free: 6.016 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.001179/0.00118, allocations: 193.1 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.515/2.515, allocations: 469.4 MB / 0.7422 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 71.83 kB / 1.064 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8219/0.8233, allocations: 159.1 MB / 1.22 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1634/0.9867, allocations: 161.3 MB / 1.377 GB, free: 264 kB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.005834/0.9925, allocations: 4.551 MB / 1.382 GB, free: 11.7 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003878/0.993, allocations: 11.94 kB / 1.382 GB, free: 11.69 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0004849/0.9935, allocations: 131 kB / 1.382 GB, free: 11.56 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.000977/0.9945, allocations: 342.4 kB / 1.382 GB, free: 11.22 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008435/0.9954, allocations: 283 kB / 1.383 GB, free: 10.95 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0008146/0.9962, allocations: 0.5534 MB / 1.383 GB, free: 10.39 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004391/0.9966, allocations: 213.1 kB / 1.383 GB, free: 10.18 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.9978, allocations: 474.2 kB / 1.384 GB, free: 9.715 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003845/0.9982, allocations: 183.3 kB / 1.384 GB, free: 9.535 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 5.215e-05/0.9983, allocations: 16 kB / 1.384 GB, free: 9.52 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002458/0.9986, allocations: 87.88 kB / 1.384 GB, free: 9.434 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.9987, allocations: 87.7 kB / 1.384 GB, free: 9.348 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.9989, allocations: 115.4 kB / 1.384 GB, free: 9.234 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0005775/0.9995, allocations: 290.8 kB / 1.384 GB, free: 8.953 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.9995, allocations: 4 kB / 1.384 GB, free: 8.949 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.774e-06/0.9995, allocations: 4 kB / 1.384 GB, free: 8.945 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.9995, allocations: 0 / 1.384 GB, free: 8.945 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.001068/1.001, allocations: 0.547 MB / 1.385 GB, free: 8.352 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/1.001, allocations: 16.56 kB / 1.385 GB, free: 8.336 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.064e-05/1.001, allocations: 46.55 kB / 1.385 GB, free: 8.281 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.391e-05/1.001, allocations: 35.75 kB / 1.385 GB, free: 8.246 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004772/1.001, allocations: 287.5 kB / 1.385 GB, free: 7.926 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/1.001, allocations: 16 kB / 1.385 GB, free: 7.91 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/1.001, allocations: 16 kB / 1.385 GB, free: 7.895 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/1.002, allocations: 265.9 kB / 1.386 GB, free: 7.598 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/1.002, allocations: 11.88 kB / 1.386 GB, free: 7.586 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/1.002, allocations: 4 kB / 1.386 GB, free: 7.582 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/1.002, allocations: 8 kB / 1.386 GB, free: 7.574 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003404/1.002, allocations: 151.8 kB / 1.386 GB, free: 7.426 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/1.004, allocations: 1.36 MB / 1.387 GB, free: 5.977 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/1.004, allocations: 187.7 kB / 1.387 GB, free: 5.738 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/1.004, allocations: 97.05 kB / 1.387 GB, free: 5.625 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000358/1.005, allocations: 125.1 kB / 1.388 GB, free: 5.484 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/1.005, allocations: 46.5 kB / 1.388 GB, free: 5.43 MB / 1.107 GB Notification: Performance of pre-optimization done (n=10): time 4.509e-06/1.005, allocations: 0 / 1.388 GB, free: 5.43 MB / 1.107 GB Notification: Performance of matching and sorting (n=10): time 0.0006411/1.005, allocations: 205.9 kB / 1.388 GB, free: 5.223 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.586e-05/1.005, allocations: 195.8 kB / 1.388 GB, free: 4.988 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/1.006, allocations: 283 kB / 1.388 GB, free: 4.707 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/1.006, allocations: 25.7 kB / 1.388 GB, free: 4.676 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/1.006, allocations: 151.9 kB / 1.388 GB, free: 4.523 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/1.006, allocations: 43.62 kB / 1.388 GB, free: 4.48 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.714e-05/1.006, allocations: 33.7 kB / 1.388 GB, free: 4.441 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001102/1.006, allocations: 334.8 kB / 1.389 GB, free: 4.105 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/1.006, allocations: 47.97 kB / 1.389 GB, free: 4.059 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/1.006, allocations: 114.3 kB / 1.389 GB, free: 3.922 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000284/1.007, allocations: 158.7 kB / 1.389 GB, free: 3.742 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.007, allocations: 0 / 1.389 GB, free: 3.742 MB / 1.107 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003829/1.007, allocations: 201.4 kB / 1.389 GB, free: 3.539 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/1.007, allocations: 8 kB / 1.389 GB, free: 3.531 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/1.007, allocations: 0 / 1.389 GB, free: 3.531 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/1.007, allocations: 7.938 kB / 1.389 GB, free: 3.523 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/1.007, allocations: 31.98 kB / 1.389 GB, free: 3.492 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/1.007, allocations: 224 / 1.389 GB, free: 3.492 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/1.007, allocations: 27.88 kB / 1.389 GB, free: 3.465 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/1.007, allocations: 15.94 kB / 1.389 GB, free: 3.449 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.0001346/1.008, allocations: 149.7 kB / 1.39 GB, free: 3.293 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/1.008, allocations: 31.75 kB / 1.39 GB, free: 3.262 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003258/1.008, allocations: 131 kB / 1.39 GB, free: 3.125 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/1.008, allocations: 11.94 kB / 1.39 GB, free: 3.113 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/1.008, allocations: 0 / 1.39 GB, free: 3.113 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/1.008, allocations: 4 kB / 1.39 GB, free: 3.109 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008374/1.009, allocations: 0.7653 MB / 1.39 GB, free: 2.27 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/1.009, allocations: 4.156 kB / 1.39 GB, free: 2.266 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/1.009, allocations: 27.92 kB / 1.39 GB, free: 2.238 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/1.009, allocations: 0 / 1.39 GB, free: 2.238 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/1.009, allocations: 4 kB / 1.39 GB, free: 2.234 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/1.009, allocations: 4 kB / 1.39 GB, free: 2.23 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.009, allocations: 0 / 1.39 GB, free: 2.23 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005024/1.01, allocations: 339.5 kB / 1.391 GB, free: 1.867 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/1.01, allocations: 116.9 kB / 1.391 GB, free: 1.734 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.874e-05/1.01, allocations: 4 kB / 1.391 GB, free: 1.73 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/1.01, allocations: 12.12 kB / 1.391 GB, free: 1.719 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/1.01, allocations: 19.92 kB / 1.391 GB, free: 1.699 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/1.01, allocations: 4 kB / 1.391 GB, free: 1.695 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.000189/1.01, allocations: 209.9 kB / 1.391 GB, free: 1.488 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/1.01, allocations: 0 / 1.391 GB, free: 1.488 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003508/1.011, allocations: 51.94 kB / 1.391 GB, free: 1.438 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.001005/1.012, allocations: 0.9053 MB / 1.392 GB, free: 0.4961 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0003661/1.012, allocations: 127.8 kB / 1.392 GB, free: 380 kB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.012, allocations: 3.938 kB / 1.392 GB, free: 376 kB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/1.012, allocations: 56.59 kB / 1.392 GB, free: 320 kB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000791/1.013, allocations: 138.8 kB / 1.392 GB, free: 184 kB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003087/1.016, allocations: 2.605 MB / 1.395 GB, free: 13.42 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/1.016, allocations: 0.7595 MB / 1.396 GB, free: 12.64 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001988/1.017, allocations: 54.23 kB / 1.396 GB, free: 12.59 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/1.017, allocations: 71.41 kB / 1.396 GB, free: 12.52 MB / 1.123 GB Notification: Performance of SimCode: time 5.61e-07/1.017, allocations: 0 / 1.396 GB, free: 12.52 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/1.045, allocations: 6.863 MB / 1.402 GB, free: 5.82 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.078/9.124, allocations: 15.44 kB / 1.403 GB, free: 5.809 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 50 --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