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.005188/0.005188, allocations: 99 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.001408/0.001408, allocations: 193.1 kB / 16.67 MB, free: 5.977 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.301 MB / 190.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.842/2.842, allocations: 437 MB / 0.7105 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 71.88 kB / 1.018 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3155, allocations: 151.6 MB / 1.166 GB, free: 7.238 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.8621/1.178, allocations: 179.4 MB / 1.341 GB, free: 10.78 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01057/1.188, allocations: 7.828 MB / 1.349 GB, free: 5.168 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009166/1.189, allocations: 20.47 kB / 1.349 GB, free: 5.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000914/1.19, allocations: 244.9 kB / 1.349 GB, free: 4.992 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003961/1.194, allocations: 1.219 MB / 1.35 GB, free: 4.352 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002133/1.196, allocations: 0.7289 MB / 1.351 GB, free: 3.992 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001741/1.198, allocations: 1.078 MB / 1.352 GB, free: 3.508 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006987/1.199, allocations: 412 kB / 1.353 GB, free: 3.328 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002777/1.202, allocations: 0.8264 MB / 1.353 GB, free: 2.977 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008046/1.202, allocations: 433.3 kB / 1.354 GB, free: 2.801 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.567e-05/1.202, allocations: 37.78 kB / 1.354 GB, free: 2.801 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002109/1.205, allocations: 0.9478 MB / 1.355 GB, free: 2.426 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002429/1.205, allocations: 160.1 kB / 1.355 GB, free: 2.355 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003321/1.205, allocations: 253.6 kB / 1.355 GB, free: 2.207 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001881/1.207, allocations: 0.9382 MB / 1.356 GB, free: 1.875 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.207, allocations: 0 / 1.356 GB, free: 1.875 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.734e-06/1.207, allocations: 0 / 1.356 GB, free: 1.875 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.35e-05/1.207, allocations: 1.094 kB / 1.356 GB, free: 1.875 MB / 1.029 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.001475/1.209, allocations: 0.8167 MB / 1.357 GB, free: 1.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/1.209, allocations: 11.58 kB / 1.357 GB, free: 1.23 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.703e-05/1.209, allocations: 81.62 kB / 1.357 GB, free: 1.164 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009506/1.21, allocations: 154.1 kB / 1.357 GB, free: 1.125 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006603/1.21, allocations: 408.3 kB / 1.358 GB, free: 0.8203 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/1.21, allocations: 36.88 kB / 1.358 GB, free: 0.8008 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.121e-05/1.211, allocations: 36.69 kB / 1.358 GB, free: 0.7891 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007652/1.211, allocations: 442.3 kB / 1.358 GB, free: 0.5742 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/1.211, allocations: 5.281 kB / 1.358 GB, free: 0.5703 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/1.211, allocations: 19.97 kB / 1.358 GB, free: 0.5547 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/1.211, allocations: 12.62 kB / 1.358 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006113/1.212, allocations: 316.2 kB / 1.358 GB, free: 464 kB / 1.029 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.002414/1.214, allocations: 2.018 MB / 1.36 GB, free: 14.83 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000422/1.215, allocations: 236.4 kB / 1.361 GB, free: 14.73 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/1.215, allocations: 149.1 kB / 1.361 GB, free: 14.68 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006084/1.216, allocations: 308.5 kB / 1.361 GB, free: 14.39 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/1.216, allocations: 35.69 kB / 1.361 GB, free: 14.34 MB / 1.045 GB Notification: Performance of pre-optimization done (n=24): time 1.934e-06/1.216, allocations: 1.125 kB / 1.361 GB, free: 14.34 MB / 1.045 GB Notification: Performance of matching and sorting (n=24): time 0.001077/1.217, allocations: 456.6 kB / 1.361 GB, free: 14.18 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/1.217, allocations: 53.5 kB / 1.362 GB, free: 14.11 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004332/1.217, allocations: 394.1 kB / 1.362 GB, free: 13.93 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.843e-05/1.217, allocations: 30.77 kB / 1.362 GB, free: 13.89 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/1.218, allocations: 234.9 kB / 1.362 GB, free: 13.7 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.343e-05/1.218, allocations: 88.02 kB / 1.362 GB, free: 13.63 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/1.218, allocations: 58.59 kB / 1.362 GB, free: 13.59 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001881/1.218, allocations: 361.1 kB / 1.363 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/1.218, allocations: 113.6 kB / 1.363 GB, free: 13.22 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004196/1.219, allocations: 178.4 kB / 1.363 GB, free: 13.12 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007451/1.22, allocations: 315.2 kB / 1.363 GB, free: 12.95 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.22, allocations: 3.938 kB / 1.363 GB, free: 12.95 MB / 1.045 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006979/1.22, allocations: 365.2 kB / 1.364 GB, free: 12.8 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/1.22, allocations: 5.75 kB / 1.364 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/1.22, allocations: 1.438 kB / 1.364 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/1.22, allocations: 3.875 kB / 1.364 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/1.221, allocations: 61.14 kB / 1.364 GB, free: 12.79 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/1.221, allocations: 11.94 kB / 1.364 GB, free: 12.78 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/1.221, allocations: 40.52 kB / 1.364 GB, free: 12.76 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/1.221, allocations: 13.56 kB / 1.364 GB, free: 12.75 MB / 1.045 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.0001916/1.221, allocations: 171.9 kB / 1.364 GB, free: 12.61 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.497e-05/1.221, allocations: 47.16 kB / 1.364 GB, free: 12.58 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007077/1.222, allocations: 365.6 kB / 1.364 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/1.222, allocations: 2.562 kB / 1.364 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/1.222, allocations: 0 / 1.364 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/1.222, allocations: 2.391 kB / 1.364 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/1.223, allocations: 0.9356 MB / 1.365 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/1.223, allocations: 1.562 kB / 1.365 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/1.224, allocations: 50.89 kB / 1.365 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/1.224, allocations: 7.969 kB / 1.365 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/1.224, allocations: 3.625 kB / 1.365 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/1.224, allocations: 10.16 kB / 1.365 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.224, allocations: 8.406 kB / 1.365 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000997/1.225, allocations: 0.6336 MB / 1.366 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001846/1.225, allocations: 155.2 kB / 1.366 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.957e-05/1.225, allocations: 12 kB / 1.366 GB, free: 11.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/1.225, allocations: 9.328 kB / 1.366 GB, free: 11.27 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/1.225, allocations: 17.98 kB / 1.366 GB, free: 11.26 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/1.225, allocations: 10.62 kB / 1.366 GB, free: 11.25 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003241/1.226, allocations: 287.1 kB / 1.366 GB, free: 11.08 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.51e-07/1.226, allocations: 0 / 1.366 GB, free: 11.08 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005184/1.226, allocations: 109.8 kB / 1.366 GB, free: 11.06 MB / 1.045 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.001639/1.228, allocations: 1.251 MB / 1.368 GB, free: 10.05 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006158/1.228, allocations: 289.8 kB / 1.368 GB, free: 9.922 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.228, allocations: 0 / 1.368 GB, free: 9.922 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002593/1.229, allocations: 153.2 kB / 1.368 GB, free: 9.852 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/1.23, allocations: 213.1 kB / 1.368 GB, free: 9.742 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004901/1.235, allocations: 3.804 MB / 1.372 GB, free: 7.07 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/1.235, allocations: 0.8258 MB / 1.373 GB, free: 6.309 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003194/1.236, allocations: 108.4 kB / 1.373 GB, free: 6.254 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/1.236, allocations: 139.9 kB / 1.373 GB, free: 6.141 MB / 1.045 GB Notification: Performance of SimCode: time 4.71e-07/1.236, allocations: 0 / 1.373 GB, free: 6.141 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03859/1.274, allocations: 11.7 MB / 1.384 GB, free: 412 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.727/10, allocations: 11.94 kB / 1.384 GB, free: 400 kB / 1.045 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