Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_9_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.005227/0.005227, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.00117/0.00117, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.257/2.257, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 67.91 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8778/0.8794, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2117/1.091, allocations: 161.4 MB / 1.245 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006877/1.098, allocations: 4.534 MB / 1.25 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000522/1.099, allocations: 15 kB / 1.25 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005803/1.099, allocations: 127.1 kB / 1.25 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001275/1.101, allocations: 350.4 kB / 1.25 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009742/1.102, allocations: 263.4 kB / 1.25 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008738/1.102, allocations: 0.5728 MB / 1.251 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005377/1.103, allocations: 193.2 kB / 1.251 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/1.104, allocations: 474.2 kB / 1.251 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003789/1.105, allocations: 187.3 kB / 1.252 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.77e-05/1.105, allocations: 16 kB / 1.252 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/1.105, allocations: 87.86 kB / 1.252 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/1.105, allocations: 83.78 kB / 1.252 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001648/1.105, allocations: 119.4 kB / 1.252 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004802/1.106, allocations: 294.7 kB / 1.252 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.106, allocations: 4 kB / 1.252 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.855e-06/1.106, allocations: 0 / 1.252 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.642e-05/1.106, allocations: 3.938 kB / 1.252 GB, free: 5.094 MB / 0.9825 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.0009296/1.107, allocations: 0.537 MB / 1.253 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/1.107, allocations: 16.02 kB / 1.253 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.237e-05/1.107, allocations: 50.55 kB / 1.253 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.793e-05/1.107, allocations: 35.78 kB / 1.253 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004674/1.107, allocations: 283.6 kB / 1.253 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/1.107, allocations: 12 kB / 1.253 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.701e-05/1.107, allocations: 24 kB / 1.253 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004765/1.108, allocations: 257.8 kB / 1.253 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/1.108, allocations: 7.938 kB / 1.253 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/1.108, allocations: 4 kB / 1.253 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/1.108, allocations: 8 kB / 1.253 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003468/1.108, allocations: 147.8 kB / 1.254 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/1.11, allocations: 1.368 MB / 1.255 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/1.11, allocations: 191.7 kB / 1.255 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/1.11, allocations: 97.05 kB / 1.255 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003775/1.111, allocations: 113.1 kB / 1.255 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/1.111, allocations: 58.36 kB / 1.255 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.723e-06/1.111, allocations: 0 / 1.255 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0006726/1.111, allocations: 197.3 kB / 1.255 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/1.112, allocations: 188.5 kB / 1.256 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/1.112, allocations: 295 kB / 1.256 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/1.112, allocations: 29.7 kB / 1.256 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/1.112, allocations: 148 kB / 1.256 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/1.112, allocations: 39.62 kB / 1.256 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.575e-05/1.112, allocations: 37.61 kB / 1.256 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.112, allocations: 338.8 kB / 1.257 GB, free: 268 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/1.113, allocations: 43.95 kB / 1.257 GB, free: 224 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/1.113, allocations: 111.7 kB / 1.257 GB, free: 84 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/1.113, allocations: 162.7 kB / 1.257 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.113, allocations: 256 / 1.257 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004157/1.114, allocations: 197.2 kB / 1.257 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/1.114, allocations: 10.5 kB / 1.257 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.114, allocations: 0 / 1.257 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/1.114, allocations: 7.984 kB / 1.257 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/1.114, allocations: 27.98 kB / 1.257 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/1.114, allocations: 7.938 kB / 1.257 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/1.114, allocations: 28.05 kB / 1.257 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/1.114, allocations: 12 kB / 1.257 GB, free: 15.61 MB / 0.9981 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.0001552/1.114, allocations: 146.2 kB / 1.257 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/1.114, allocations: 31.8 kB / 1.257 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00035/1.115, allocations: 130.9 kB / 1.257 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/1.115, allocations: 4 kB / 1.257 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.115, allocations: 0 / 1.257 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/1.115, allocations: 8.031 kB / 1.257 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009345/1.116, allocations: 0.7692 MB / 1.258 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/1.116, allocations: 4 kB / 1.258 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/1.116, allocations: 23.92 kB / 1.258 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/1.116, allocations: 160 / 1.258 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/1.116, allocations: 8 kB / 1.258 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.645e-05/1.116, allocations: 4 kB / 1.258 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.116, allocations: 0 / 1.258 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005515/1.116, allocations: 347.4 kB / 1.259 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/1.117, allocations: 109 kB / 1.259 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/1.117, allocations: 8.125 kB / 1.259 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/1.117, allocations: 11.98 kB / 1.259 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/1.117, allocations: 15.86 kB / 1.259 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/1.117, allocations: 12.06 kB / 1.259 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002071/1.117, allocations: 209.9 kB / 1.259 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.117, allocations: 0 / 1.259 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003613/1.117, allocations: 52.03 kB / 1.259 GB, free: 13.59 MB / 0.9981 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.001145/1.119, allocations: 0.9099 MB / 1.26 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003781/1.119, allocations: 123.9 kB / 1.26 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/1.119, allocations: 3.938 kB / 1.26 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000168/1.119, allocations: 59.89 kB / 1.26 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007864/1.12, allocations: 134.6 kB / 1.26 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003563/1.124, allocations: 2.606 MB / 1.263 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/1.124, allocations: 0.7519 MB / 1.263 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001869/1.124, allocations: 54.25 kB / 1.263 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/1.124, allocations: 67.41 kB / 1.264 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/1.124, allocations: 0 / 1.264 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/1.153, allocations: 6.876 MB / 1.27 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.744/8.896, allocations: 7.641 kB / 1.27 GB, free: 1.961 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches