Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.009092/0.009092, allocations: 101.5 kB / 15.73 MB, free: 6.008 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.001811/0.001811, allocations: 190.3 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.51/1.51, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.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.462/2.462, allocations: 390.3 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001387, allocations: 62.78 kB / 0.9504 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2676, allocations: 140.4 MB / 1.087 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.8016/1.069, allocations: 179.4 MB / 1.263 GB, free: 3.195 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01145/1.081, allocations: 7.832 MB / 1.27 GB, free: 3.18 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/1.082, allocations: 19.78 kB / 1.27 GB, free: 3.18 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001159/1.083, allocations: 249.9 kB / 1.271 GB, free: 3.176 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004652/1.088, allocations: 1.216 MB / 1.272 GB, free: 3.129 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002447/1.091, allocations: 0.7334 MB / 1.272 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00189/1.092, allocations: 1.078 MB / 1.274 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007978/1.093, allocations: 405.8 kB / 1.274 GB, free: 3.09 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002936/1.096, allocations: 0.8301 MB / 1.275 GB, free: 3.078 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009853/1.097, allocations: 433.9 kB / 1.275 GB, free: 3.078 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.457e-05/1.097, allocations: 36.72 kB / 1.275 GB, free: 3.078 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00229/1.1, allocations: 0.9573 MB / 1.276 GB, free: 3.062 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002484/1.1, allocations: 156.5 kB / 1.276 GB, free: 3.062 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004103/1.1, allocations: 246.6 kB / 1.276 GB, free: 3.062 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002331/1.103, allocations: 0.9335 MB / 1.277 GB, free: 3.008 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.103, allocations: 1.25 kB / 1.277 GB, free: 3.008 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.452e-06/1.103, allocations: 0 / 1.277 GB, free: 3.008 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.155e-05/1.103, allocations: 1.5 kB / 1.277 GB, free: 3.008 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.00145/1.104, allocations: 0.8052 MB / 1.278 GB, free: 2.465 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/1.104, allocations: 9.984 kB / 1.278 GB, free: 2.465 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000103/1.104, allocations: 79.31 kB / 1.278 GB, free: 2.426 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/1.105, allocations: 148.6 kB / 1.278 GB, free: 2.398 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007341/1.106, allocations: 401.1 kB / 1.279 GB, free: 2.164 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.887e-05/1.106, allocations: 33.97 kB / 1.279 GB, free: 2.164 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-05/1.106, allocations: 36.66 kB / 1.279 GB, free: 2.164 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008678/1.107, allocations: 447.2 kB / 1.279 GB, free: 2.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/1.107, allocations: 1.438 kB / 1.279 GB, free: 2.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/1.107, allocations: 22.97 kB / 1.279 GB, free: 2.066 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/1.107, allocations: 10.64 kB / 1.279 GB, free: 2.066 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006481/1.108, allocations: 321.3 kB / 1.28 GB, free: 2.066 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002376/1.11, allocations: 2.013 MB / 1.282 GB, free: 16.72 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004229/1.111, allocations: 240.8 kB / 1.282 GB, free: 16.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/1.111, allocations: 150.2 kB / 1.282 GB, free: 16.69 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006261/1.112, allocations: 306 kB / 1.282 GB, free: 16.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/1.112, allocations: 34.47 kB / 1.282 GB, free: 16.37 MB / 1.029 GB Notification: Performance of pre-optimization done (n=24): time 2.013e-06/1.112, allocations: 0 / 1.282 GB, free: 16.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=24): time 0.001101/1.113, allocations: 459.6 kB / 1.283 GB, free: 16.31 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/1.113, allocations: 59.39 kB / 1.283 GB, free: 16.24 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004415/1.113, allocations: 398.4 kB / 1.283 GB, free: 16.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/1.113, allocations: 31.45 kB / 1.283 GB, free: 16.1 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/1.114, allocations: 231.6 kB / 1.283 GB, free: 15.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.137e-05/1.114, allocations: 81.69 kB / 1.284 GB, free: 15.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/1.114, allocations: 64.5 kB / 1.284 GB, free: 15.9 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001371/1.114, allocations: 346.7 kB / 1.284 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/1.114, allocations: 113.8 kB / 1.284 GB, free: 15.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000363/1.115, allocations: 186.7 kB / 1.284 GB, free: 15.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000579/1.115, allocations: 302.3 kB / 1.284 GB, free: 15.46 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.115, allocations: 2.969 kB / 1.284 GB, free: 15.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008103/1.116, allocations: 365 kB / 1.285 GB, free: 15.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/1.116, allocations: 10.5 kB / 1.285 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/1.116, allocations: 3.094 kB / 1.285 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/1.116, allocations: 2.281 kB / 1.285 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/1.116, allocations: 60.19 kB / 1.285 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/1.116, allocations: 7.469 kB / 1.285 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/1.117, allocations: 44.22 kB / 1.285 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.189e-05/1.117, allocations: 15.09 kB / 1.285 GB, free: 15.38 MB / 1.029 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 (31): * Single equations (assignments): 31 * 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.000223/1.117, allocations: 164.5 kB / 1.285 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-05/1.117, allocations: 43.84 kB / 1.285 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008025/1.118, allocations: 370.9 kB / 1.286 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/1.118, allocations: 2.719 kB / 1.286 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.118, allocations: 1.969 kB / 1.286 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/1.118, allocations: 1.734 kB / 1.286 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/1.12, allocations: 0.9375 MB / 1.286 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/1.12, allocations: 2.406 kB / 1.286 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002661/1.12, allocations: 52.59 kB / 1.286 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/1.12, allocations: 2.562 kB / 1.286 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/1.12, allocations: 5.453 kB / 1.286 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/1.12, allocations: 7.797 kB / 1.286 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.12, allocations: 3.625 kB / 1.287 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009975/1.121, allocations: 0.629 MB / 1.287 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/1.121, allocations: 148 kB / 1.287 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.642e-05/1.121, allocations: 5.312 kB / 1.287 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/1.121, allocations: 12.41 kB / 1.287 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.343e-05/1.122, allocations: 30.42 kB / 1.287 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/1.122, allocations: 12.98 kB / 1.287 GB, free: 14.49 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003567/1.122, allocations: 279.6 kB / 1.288 GB, free: 14.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.11e-07/1.122, allocations: 0.75 kB / 1.288 GB, free: 14.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006195/1.123, allocations: 114.3 kB / 1.288 GB, free: 14.39 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.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 (24): * Single equations (assignments): 24 * 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.001552/1.124, allocations: 1.242 MB / 1.289 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006921/1.125, allocations: 301.3 kB / 1.289 GB, free: 13.63 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.125, allocations: 0.9688 kB / 1.289 GB, free: 13.63 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002897/1.125, allocations: 149.4 kB / 1.289 GB, free: 13.63 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/1.126, allocations: 224.8 kB / 1.29 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005324/1.132, allocations: 3.776 MB / 1.293 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/1.132, allocations: 0.8331 MB / 1.294 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004365/1.133, allocations: 99.19 kB / 1.294 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/1.133, allocations: 141 kB / 1.294 GB, free: 11.21 MB / 1.029 GB Notification: Performance of SimCode: time 2.264e-06/1.133, allocations: 0.9062 kB / 1.294 GB, free: 11.21 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04456/1.177, allocations: 11.7 MB / 1.306 GB, free: 10.25 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.998/9.176, allocations: 4 kB / 1.306 GB, free: 10.25 MB / 1.029 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_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_MoistAirEnthalpyFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches