Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_10_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.006936/0.006935, allocations: 99.14 kB / 15.73 MB, free: 6.062 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.001433/0.001433, allocations: 192 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.509/2.509, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 59.91 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8094/0.8106, allocations: 151.6 MB / 1.166 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.194/1.005, allocations: 179.4 MB / 1.341 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009362/1.014, allocations: 7.826 MB / 1.349 GB, free: 7.805 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005838/1.015, allocations: 19.88 kB / 1.349 GB, free: 7.785 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007166/1.015, allocations: 250.2 kB / 1.349 GB, free: 7.539 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002998/1.018, allocations: 1.264 MB / 1.351 GB, free: 6.27 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001798/1.02, allocations: 0.7395 MB / 1.351 GB, free: 5.531 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001278/1.022, allocations: 1.076 MB / 1.352 GB, free: 4.453 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006661/1.022, allocations: 413.4 kB / 1.353 GB, free: 4.043 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002439/1.025, allocations: 0.8605 MB / 1.354 GB, free: 3.191 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007067/1.025, allocations: 434.5 kB / 1.354 GB, free: 2.766 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.124e-05/1.026, allocations: 36 kB / 1.354 GB, free: 2.73 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/1.027, allocations: 0.9548 MB / 1.355 GB, free: 1.773 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002008/1.027, allocations: 159.5 kB / 1.355 GB, free: 1.617 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003209/1.028, allocations: 242.8 kB / 1.355 GB, free: 1.379 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001666/1.029, allocations: 0.9459 MB / 1.356 GB, free: 444 kB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/1.029, allocations: 0 / 1.356 GB, free: 444 kB / 1.076 GB Notification: Performance of FrontEnd: time 1.383e-06/1.029, allocations: 0 / 1.356 GB, free: 444 kB / 1.076 GB Notification: Performance of Transformations before backend: time 1.589e-05/1.03, allocations: 0 / 1.356 GB, free: 444 kB / 1.076 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.001255/1.031, allocations: 0.8172 MB / 1.357 GB, free: 15.56 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/1.031, allocations: 16.56 kB / 1.357 GB, free: 15.55 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.442e-05/1.031, allocations: 86.45 kB / 1.357 GB, free: 15.45 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009876/1.032, allocations: 143.6 kB / 1.357 GB, free: 15.31 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006279/1.033, allocations: 407.7 kB / 1.358 GB, free: 14.88 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/1.033, allocations: 33 kB / 1.358 GB, free: 14.84 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.093e-05/1.033, allocations: 40 kB / 1.358 GB, free: 14.8 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007156/1.033, allocations: 446.4 kB / 1.358 GB, free: 14.34 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/1.033, allocations: 0 / 1.358 GB, free: 14.34 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.593e-05/1.033, allocations: 19.94 kB / 1.358 GB, free: 14.32 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/1.033, allocations: 12 kB / 1.358 GB, free: 14.31 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006/1.034, allocations: 319.7 kB / 1.358 GB, free: 14 MB / 1.092 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.002125/1.036, allocations: 2.02 MB / 1.36 GB, free: 11.81 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004059/1.037, allocations: 238.4 kB / 1.361 GB, free: 11.57 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/1.037, allocations: 144.8 kB / 1.361 GB, free: 11.42 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005821/1.037, allocations: 311.2 kB / 1.361 GB, free: 11.06 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/1.038, allocations: 34.56 kB / 1.361 GB, free: 11.02 MB / 1.092 GB Notification: Performance of pre-optimization done (n=24): time 1.603e-06/1.038, allocations: 0 / 1.361 GB, free: 11.02 MB / 1.092 GB Notification: Performance of matching and sorting (n=24): time 0.001028/1.039, allocations: 467.8 kB / 1.362 GB, free: 10.56 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/1.039, allocations: 51.41 kB / 1.362 GB, free: 10.5 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003957/1.039, allocations: 394 kB / 1.362 GB, free: 10.1 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/1.039, allocations: 33.7 kB / 1.362 GB, free: 10.06 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/1.039, allocations: 236.5 kB / 1.362 GB, free: 9.828 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 7.375e-05/1.039, allocations: 79.27 kB / 1.362 GB, free: 9.75 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.685e-05/1.039, allocations: 61.66 kB / 1.362 GB, free: 9.684 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.04, allocations: 362.7 kB / 1.363 GB, free: 9.32 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/1.04, allocations: 107.9 kB / 1.363 GB, free: 9.215 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/1.04, allocations: 187.8 kB / 1.363 GB, free: 9.008 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005031/1.041, allocations: 305.4 kB / 1.363 GB, free: 8.688 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.041, allocations: 4 kB / 1.363 GB, free: 8.684 MB / 1.092 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006438/1.041, allocations: 361 kB / 1.364 GB, free: 8.324 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/1.041, allocations: 8 kB / 1.364 GB, free: 8.316 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.041, allocations: 0 / 1.364 GB, free: 8.316 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/1.041, allocations: 4 kB / 1.364 GB, free: 8.312 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/1.042, allocations: 60.12 kB / 1.364 GB, free: 8.254 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/1.042, allocations: 4 kB / 1.364 GB, free: 8.25 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/1.042, allocations: 39.72 kB / 1.364 GB, free: 8.211 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-05/1.042, allocations: 19.98 kB / 1.364 GB, free: 8.191 MB / 1.092 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.0001693/1.042, allocations: 169.6 kB / 1.364 GB, free: 8.016 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.199e-05/1.042, allocations: 43.72 kB / 1.364 GB, free: 7.973 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006999/1.043, allocations: 373 kB / 1.364 GB, free: 7.602 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/1.043, allocations: 4 kB / 1.364 GB, free: 7.598 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.043, allocations: 0 / 1.364 GB, free: 7.598 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.043, allocations: 0 / 1.364 GB, free: 7.598 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/1.044, allocations: 0.9389 MB / 1.365 GB, free: 6.582 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/1.044, allocations: 4 kB / 1.365 GB, free: 6.578 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/1.045, allocations: 47.91 kB / 1.365 GB, free: 6.531 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/1.045, allocations: 7.938 kB / 1.365 GB, free: 6.523 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/1.045, allocations: 8 kB / 1.365 GB, free: 6.516 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/1.045, allocations: 0 / 1.365 GB, free: 6.516 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/1.045, allocations: 8.203 kB / 1.365 GB, free: 6.508 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009124/1.046, allocations: 0.6324 MB / 1.366 GB, free: 5.84 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/1.046, allocations: 156.7 kB / 1.366 GB, free: 5.668 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.168e-05/1.046, allocations: 11.98 kB / 1.366 GB, free: 5.656 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/1.046, allocations: 11.94 kB / 1.366 GB, free: 5.645 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/1.046, allocations: 23.91 kB / 1.366 GB, free: 5.621 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/1.046, allocations: 8.062 kB / 1.366 GB, free: 5.613 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.000269/1.046, allocations: 283.1 kB / 1.366 GB, free: 5.34 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.413e-06/1.046, allocations: 0 / 1.366 GB, free: 5.34 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004557/1.047, allocations: 123.8 kB / 1.367 GB, free: 5.219 MB / 1.092 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.001417/1.048, allocations: 1.238 MB / 1.368 GB, free: 3.941 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005813/1.049, allocations: 290.4 kB / 1.368 GB, free: 3.66 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.049, allocations: 0 / 1.368 GB, free: 3.66 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002803/1.049, allocations: 156.7 kB / 1.368 GB, free: 3.508 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/1.05, allocations: 217.8 kB / 1.368 GB, free: 3.301 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004614/1.055, allocations: 3.8 MB / 1.372 GB, free: 15.33 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/1.055, allocations: 0.8233 MB / 1.373 GB, free: 14.48 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0003286/1.056, allocations: 103.4 kB / 1.373 GB, free: 14.38 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/1.056, allocations: 139.4 kB / 1.373 GB, free: 14.24 MB / 1.107 GB Notification: Performance of SimCode: time 5.51e-07/1.056, allocations: 3.938 kB / 1.373 GB, free: 14.23 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03163/1.088, allocations: 11.7 MB / 1.385 GB, free: 2.77 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.298/9.385, allocations: 11.89 kB / 1.385 GB, free: 2.758 MB / 1.107 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches