Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_latest_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.00943/0.00943, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001698/0.001699, allocations: 190.6 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.615/2.615, allocations: 469.4 MB / 0.7422 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 67.91 kB / 1.064 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.777/0.7784, allocations: 159.1 MB / 1.22 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1814/0.9598, allocations: 179.4 MB / 1.395 GB, free: 14.19 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.009319/0.9691, allocations: 7.825 MB / 1.403 GB, free: 6.34 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005491/0.9697, allocations: 19.88 kB / 1.403 GB, free: 6.32 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0007669/0.9705, allocations: 242.2 kB / 1.403 GB, free: 6.082 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003348/0.9739, allocations: 1.28 MB / 1.404 GB, free: 4.797 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.9758, allocations: 0.7356 MB / 1.405 GB, free: 4.062 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001535/0.9773, allocations: 1.083 MB / 1.406 GB, free: 2.973 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000708/0.978, allocations: 409.4 kB / 1.406 GB, free: 2.562 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002362/0.9804, allocations: 0.8486 MB / 1.407 GB, free: 1.723 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007225/0.9811, allocations: 434.4 kB / 1.408 GB, free: 1.297 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 8.687e-05/0.9812, allocations: 40 kB / 1.408 GB, free: 1.258 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.983, allocations: 0.951 MB / 1.408 GB, free: 312 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.9832, allocations: 159.5 kB / 1.409 GB, free: 152 kB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0003415/0.9835, allocations: 246.8 kB / 1.409 GB, free: 15.91 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.9852, allocations: 0.9382 MB / 1.41 GB, free: 14.97 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.9853, allocations: 4 kB / 1.41 GB, free: 14.96 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9853, allocations: 0 / 1.41 GB, free: 14.96 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.589e-05/0.9853, allocations: 0 / 1.41 GB, free: 14.96 MB / 1.139 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.001358/0.9867, allocations: 0.8172 MB / 1.411 GB, free: 14.1 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.9867, allocations: 12.56 kB / 1.411 GB, free: 14.09 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.624e-05/0.9868, allocations: 86.47 kB / 1.411 GB, free: 13.99 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.9878, allocations: 151.5 kB / 1.411 GB, free: 13.84 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006902/0.9885, allocations: 411.5 kB / 1.411 GB, free: 13.41 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.9886, allocations: 25 kB / 1.411 GB, free: 13.38 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.809e-05/0.9887, allocations: 43.95 kB / 1.411 GB, free: 13.34 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007505/0.9894, allocations: 450.4 kB / 1.412 GB, free: 12.88 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/0.9895, allocations: 4 kB / 1.412 GB, free: 12.87 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.692e-05/0.9895, allocations: 15.94 kB / 1.412 GB, free: 12.86 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.9895, allocations: 12 kB / 1.412 GB, free: 12.84 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006285/0.9902, allocations: 315.8 kB / 1.412 GB, free: 12.54 MB / 1.139 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.002364/0.9925, allocations: 2.02 MB / 1.414 GB, free: 10.34 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004047/0.993, allocations: 241.2 kB / 1.414 GB, free: 10.1 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000254/0.9932, allocations: 144.8 kB / 1.414 GB, free: 9.953 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006072/0.9938, allocations: 315.2 kB / 1.415 GB, free: 9.59 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.9939, allocations: 34.56 kB / 1.415 GB, free: 9.547 MB / 1.139 GB Notification: Performance of pre-optimization done (n=24): time 1.673e-06/0.9939, allocations: 0 / 1.415 GB, free: 9.547 MB / 1.139 GB Notification: Performance of matching and sorting (n=24): time 0.001072/0.995, allocations: 449.5 kB / 1.415 GB, free: 9.102 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.995, allocations: 55.41 kB / 1.415 GB, free: 9.035 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000408/0.9954, allocations: 401.9 kB / 1.416 GB, free: 8.641 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.9955, allocations: 37.64 kB / 1.416 GB, free: 8.598 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.9956, allocations: 228.6 kB / 1.416 GB, free: 8.371 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.919e-05/0.9957, allocations: 79.27 kB / 1.416 GB, free: 8.293 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-05/0.9958, allocations: 61.66 kB / 1.416 GB, free: 8.227 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.996, allocations: 354.7 kB / 1.416 GB, free: 7.871 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.9962, allocations: 115.9 kB / 1.416 GB, free: 7.758 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.9965, allocations: 182.6 kB / 1.417 GB, free: 7.555 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005267/0.997, allocations: 304.7 kB / 1.417 GB, free: 7.234 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.9971, allocations: 0 / 1.417 GB, free: 7.234 MB / 1.139 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006994/0.9978, allocations: 367.3 kB / 1.417 GB, free: 6.871 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.9978, allocations: 8 kB / 1.417 GB, free: 6.863 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.9978, allocations: 0 / 1.417 GB, free: 6.863 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.9978, allocations: 4 kB / 1.417 GB, free: 6.859 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/0.9981, allocations: 59.84 kB / 1.417 GB, free: 6.801 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.9981, allocations: 8.156 kB / 1.417 GB, free: 6.793 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.9984, allocations: 43.72 kB / 1.417 GB, free: 6.75 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/0.9984, allocations: 16 kB / 1.417 GB, free: 6.734 MB / 1.139 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.0001827/0.9986, allocations: 173.6 kB / 1.418 GB, free: 6.555 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.117e-05/0.9987, allocations: 39.72 kB / 1.418 GB, free: 6.516 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007119/0.9994, allocations: 365 kB / 1.418 GB, free: 6.148 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.289e-06/0.9995, allocations: 7.938 kB / 1.418 GB, free: 6.141 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.9995, allocations: 7.984 kB / 1.418 GB, free: 6.133 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.9995, allocations: 0 / 1.418 GB, free: 6.133 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/1.001, allocations: 0.9435 MB / 1.419 GB, free: 5.113 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/1.001, allocations: 4 kB / 1.419 GB, free: 5.109 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/1.001, allocations: 43.97 kB / 1.419 GB, free: 5.066 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/1.001, allocations: 3.984 kB / 1.419 GB, free: 5.062 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/1.001, allocations: 11.98 kB / 1.419 GB, free: 5.051 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/1.001, allocations: 7.938 kB / 1.419 GB, free: 5.043 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.001, allocations: 4 kB / 1.419 GB, free: 5.039 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/1.002, allocations: 0.6309 MB / 1.42 GB, free: 4.371 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/1.003, allocations: 152.7 kB / 1.42 GB, free: 4.203 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.709e-05/1.003, allocations: 8 kB / 1.42 GB, free: 4.195 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/1.003, allocations: 11.98 kB / 1.42 GB, free: 4.184 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/1.003, allocations: 11.98 kB / 1.42 GB, free: 4.172 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/1.003, allocations: 15.98 kB / 1.42 GB, free: 4.156 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002862/1.003, allocations: 283.2 kB / 1.42 GB, free: 3.887 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.3e-07/1.003, allocations: 0 / 1.42 GB, free: 3.887 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004958/1.004, allocations: 111.8 kB / 1.42 GB, free: 3.777 MB / 1.139 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.001897/1.006, allocations: 1.237 MB / 1.421 GB, free: 2.496 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0006686/1.006, allocations: 287.6 kB / 1.422 GB, free: 2.215 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.006, allocations: 0 / 1.422 GB, free: 2.215 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002876/1.007, allocations: 150.4 kB / 1.422 GB, free: 2.07 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/1.008, allocations: 223.5 kB / 1.422 GB, free: 1.855 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005132/1.013, allocations: 3.834 MB / 1.426 GB, free: 13.86 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/1.013, allocations: 0.8272 MB / 1.427 GB, free: 13 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003383/1.014, allocations: 95.42 kB / 1.427 GB, free: 12.91 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/1.014, allocations: 135.4 kB / 1.427 GB, free: 12.77 MB / 1.154 GB Notification: Performance of SimCode: time 6.01e-07/1.014, allocations: 0 / 1.427 GB, free: 12.77 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0311/1.045, allocations: 11.7 MB / 1.438 GB, free: 1.328 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.214/9.259, allocations: 13.31 kB / 1.438 GB, free: 1.32 MB / 1.154 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches