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.007239/0.007239, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001686/0.001686, allocations: 194.1 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.495/2.495, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 64.41 kB / 0.9504 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.282, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.7795/1.062, allocations: 179.4 MB / 1.263 GB, free: 3.219 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0089/1.07, allocations: 7.829 MB / 1.27 GB, free: 3.195 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006466/1.071, allocations: 22.19 kB / 1.27 GB, free: 3.195 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006711/1.072, allocations: 241.6 kB / 1.271 GB, free: 3.191 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00347/1.075, allocations: 1.269 MB / 1.272 GB, free: 3.145 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002093/1.077, allocations: 0.7453 MB / 1.273 GB, free: 3.121 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001548/1.079, allocations: 1.082 MB / 1.274 GB, free: 3.121 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007179/1.08, allocations: 411 kB / 1.274 GB, free: 3.102 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002606/1.082, allocations: 0.853 MB / 1.275 GB, free: 3.094 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007391/1.083, allocations: 437.2 kB / 1.275 GB, free: 3.094 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.636e-05/1.083, allocations: 37.19 kB / 1.275 GB, free: 3.094 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/1.085, allocations: 0.9572 MB / 1.276 GB, free: 3.078 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002211/1.086, allocations: 157.9 kB / 1.276 GB, free: 3.078 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000332/1.086, allocations: 244.2 kB / 1.277 GB, free: 3.078 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001857/1.088, allocations: 0.9407 MB / 1.278 GB, free: 3.023 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/1.088, allocations: 0.5312 kB / 1.278 GB, free: 3.023 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.844e-06/1.088, allocations: 1.062 kB / 1.278 GB, free: 3.023 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.458e-06/1.088, allocations: 0.5312 kB / 1.278 GB, free: 3.023 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.001238/1.089, allocations: 0.8221 MB / 1.278 GB, free: 2.461 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.089, allocations: 9.875 kB / 1.278 GB, free: 2.461 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.151e-05/1.089, allocations: 80.11 kB / 1.278 GB, free: 2.422 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/1.09, allocations: 149.9 kB / 1.279 GB, free: 2.395 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006332/1.091, allocations: 411.3 kB / 1.279 GB, free: 2.152 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.706e-05/1.091, allocations: 27.34 kB / 1.279 GB, free: 2.152 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.971e-05/1.091, allocations: 39 kB / 1.279 GB, free: 2.152 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007955/1.092, allocations: 447.2 kB / 1.279 GB, free: 2.059 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/1.092, allocations: 1.719 kB / 1.279 GB, free: 2.059 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/1.092, allocations: 17.72 kB / 1.279 GB, free: 2.059 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/1.092, allocations: 9.875 kB / 1.279 GB, free: 2.059 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000638/1.093, allocations: 322.4 kB / 1.28 GB, free: 2.059 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.00222/1.095, allocations: 2.017 MB / 1.282 GB, free: 16.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004163/1.095, allocations: 236.9 kB / 1.282 GB, free: 16.69 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002601/1.095, allocations: 150.6 kB / 1.282 GB, free: 16.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006072/1.096, allocations: 306.8 kB / 1.282 GB, free: 16.4 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/1.096, allocations: 35.81 kB / 1.282 GB, free: 16.36 MB / 1.029 GB Notification: Performance of pre-optimization done (n=24): time 1.753e-06/1.096, allocations: 0 / 1.282 GB, free: 16.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=24): time 0.001052/1.097, allocations: 462.5 kB / 1.283 GB, free: 16.3 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/1.097, allocations: 59.11 kB / 1.283 GB, free: 16.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004205/1.098, allocations: 396.3 kB / 1.283 GB, free: 16.12 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/1.098, allocations: 30.02 kB / 1.283 GB, free: 16.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/1.098, allocations: 235.3 kB / 1.284 GB, free: 15.96 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.594e-05/1.098, allocations: 91.3 kB / 1.284 GB, free: 15.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.707e-05/1.098, allocations: 59.09 kB / 1.284 GB, free: 15.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.098, allocations: 355.1 kB / 1.284 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002892/1.098, allocations: 110.9 kB / 1.284 GB, free: 15.57 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/1.099, allocations: 183.8 kB / 1.284 GB, free: 15.51 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005785/1.099, allocations: 306.7 kB / 1.285 GB, free: 15.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.099, allocations: 0.5312 kB / 1.285 GB, free: 15.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006695/1.1, allocations: 374.4 kB / 1.285 GB, free: 15.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/1.1, allocations: 9.969 kB / 1.285 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/1.1, allocations: 2.25 kB / 1.285 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/1.1, allocations: 8.625 kB / 1.285 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/1.1, allocations: 54.61 kB / 1.285 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/1.1, allocations: 4.672 kB / 1.285 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/1.101, allocations: 40.5 kB / 1.285 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/1.101, allocations: 16.27 kB / 1.285 GB, free: 15.36 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.0001761/1.101, allocations: 163.4 kB / 1.285 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.391e-05/1.101, allocations: 47.06 kB / 1.285 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007447/1.102, allocations: 370.1 kB / 1.286 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/1.102, allocations: 6.797 kB / 1.286 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/1.102, allocations: 0 / 1.286 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/1.102, allocations: 3.266 kB / 1.286 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/1.103, allocations: 0.9398 MB / 1.287 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/1.103, allocations: 2.281 kB / 1.287 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/1.104, allocations: 50.34 kB / 1.287 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/1.104, allocations: 3.531 kB / 1.287 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/1.104, allocations: 9.688 kB / 1.287 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/1.104, allocations: 7.422 kB / 1.287 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.104, allocations: 5.328 kB / 1.287 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009401/1.105, allocations: 0.6314 MB / 1.287 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/1.105, allocations: 151.4 kB / 1.287 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/1.105, allocations: 8.531 kB / 1.287 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/1.105, allocations: 12.95 kB / 1.287 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/1.105, allocations: 22.17 kB / 1.287 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/1.105, allocations: 10.78 kB / 1.287 GB, free: 14.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002987/1.106, allocations: 283.3 kB / 1.288 GB, free: 14.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.106, allocations: 0 / 1.288 GB, free: 14.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005116/1.106, allocations: 109.5 kB / 1.288 GB, free: 14.37 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.001449/1.107, allocations: 1.238 MB / 1.289 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006082/1.108, allocations: 296 kB / 1.289 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.108, allocations: 5.906 kB / 1.289 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002896/1.108, allocations: 149.3 kB / 1.289 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/1.11, allocations: 231.8 kB / 1.29 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00509/1.115, allocations: 3.794 MB / 1.293 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/1.115, allocations: 0.8329 MB / 1.294 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004062/1.116, allocations: 94.67 kB / 1.294 GB, free: 11.17 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/1.116, allocations: 141.6 kB / 1.294 GB, free: 11.16 MB / 1.029 GB Notification: Performance of SimCode: time 7.52e-07/1.116, allocations: 0.9062 kB / 1.294 GB, free: 11.16 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0315/1.147, allocations: 11.69 MB / 1.306 GB, free: 10.2 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.016/9.163, allocations: 3.812 kB / 1.306 GB, free: 10.2 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