Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_11_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.00817/0.00817, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.002148/0.002148, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.76/2.76, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 63.91 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6815/0.6834, allocations: 159.1 MB / 1.22 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2058/0.8892, allocations: 179.4 MB / 1.395 GB, free: 13.95 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01046/0.8997, allocations: 7.827 MB / 1.403 GB, free: 6.094 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007545/0.9005, allocations: 19.88 kB / 1.403 GB, free: 6.074 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0009201/0.9014, allocations: 246.2 kB / 1.403 GB, free: 5.832 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00326/0.9047, allocations: 1.221 MB / 1.404 GB, free: 4.605 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00195/0.9067, allocations: 0.735 MB / 1.405 GB, free: 3.871 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001482/0.9082, allocations: 1.072 MB / 1.406 GB, free: 2.793 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007374/0.9089, allocations: 413.4 kB / 1.407 GB, free: 2.379 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002445/0.9114, allocations: 0.828 MB / 1.407 GB, free: 1.562 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007695/0.9122, allocations: 438.5 kB / 1.408 GB, free: 1.133 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 8.185e-05/0.9123, allocations: 36 kB / 1.408 GB, free: 1.098 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001756/0.914, allocations: 0.9432 MB / 1.409 GB, free: 156 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002018/0.9142, allocations: 171.4 kB / 1.409 GB, free: 15.98 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002764/0.9145, allocations: 238.8 kB / 1.409 GB, free: 15.75 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.9159, allocations: 0.9459 MB / 1.41 GB, free: 14.8 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.9159, allocations: 0 / 1.41 GB, free: 14.8 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.432e-06/0.9159, allocations: 0 / 1.41 GB, free: 14.8 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.884e-06/0.916, allocations: 0 / 1.41 GB, free: 14.8 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.001179/0.9171, allocations: 0.8134 MB / 1.411 GB, free: 13.94 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.9172, allocations: 8.031 kB / 1.411 GB, free: 13.93 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.672e-05/0.9173, allocations: 82.47 kB / 1.411 GB, free: 13.84 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009641/0.9182, allocations: 155.5 kB / 1.411 GB, free: 13.69 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006016/0.9189, allocations: 411.5 kB / 1.412 GB, free: 13.25 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.9189, allocations: 29 kB / 1.412 GB, free: 13.22 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.476e-05/0.919, allocations: 39.95 kB / 1.412 GB, free: 13.18 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000774/0.9198, allocations: 446.4 kB / 1.412 GB, free: 12.72 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.9198, allocations: 4 kB / 1.412 GB, free: 12.71 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.751e-05/0.9198, allocations: 19.94 kB / 1.412 GB, free: 12.7 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.9198, allocations: 8 kB / 1.412 GB, free: 12.69 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006529/0.9205, allocations: 323.7 kB / 1.412 GB, free: 12.38 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.002276/0.9228, allocations: 2.02 MB / 1.414 GB, free: 10.18 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004328/0.9232, allocations: 238.4 kB / 1.415 GB, free: 9.938 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.9235, allocations: 144.8 kB / 1.415 GB, free: 9.793 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006092/0.9241, allocations: 311.2 kB / 1.415 GB, free: 9.434 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.9242, allocations: 30.56 kB / 1.415 GB, free: 9.395 MB / 1.139 GB Notification: Performance of pre-optimization done (n=24): time 5.07e-06/0.9242, allocations: 7.984 kB / 1.415 GB, free: 9.387 MB / 1.139 GB Notification: Performance of matching and sorting (n=24): time 0.001063/0.9252, allocations: 459.9 kB / 1.415 GB, free: 8.934 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.9253, allocations: 55.41 kB / 1.416 GB, free: 8.867 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004284/0.9257, allocations: 393.9 kB / 1.416 GB, free: 8.48 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.9258, allocations: 33.7 kB / 1.416 GB, free: 8.441 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.926, allocations: 232.5 kB / 1.416 GB, free: 8.211 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.337e-05/0.926, allocations: 83.28 kB / 1.416 GB, free: 8.129 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.9261, allocations: 61.64 kB / 1.416 GB, free: 8.062 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.9263, allocations: 350.7 kB / 1.417 GB, free: 7.711 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.9266, allocations: 115.9 kB / 1.417 GB, free: 7.598 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003051/0.9269, allocations: 186.6 kB / 1.417 GB, free: 7.391 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005511/0.9274, allocations: 312.4 kB / 1.417 GB, free: 7.062 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.9275, allocations: 0 / 1.417 GB, free: 7.062 MB / 1.139 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006687/0.9281, allocations: 357 kB / 1.418 GB, free: 6.707 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.9282, allocations: 16.16 kB / 1.418 GB, free: 6.691 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.9282, allocations: 0 / 1.418 GB, free: 6.691 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.9282, allocations: 4 kB / 1.418 GB, free: 6.688 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.9285, allocations: 59.91 kB / 1.418 GB, free: 6.629 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.9285, allocations: 4 kB / 1.418 GB, free: 6.625 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.9287, allocations: 39.72 kB / 1.418 GB, free: 6.586 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.9288, allocations: 16 kB / 1.418 GB, free: 6.57 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.0001823/0.929, allocations: 176.7 kB / 1.418 GB, free: 6.391 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.263e-05/0.929, allocations: 47.72 kB / 1.418 GB, free: 6.344 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007608/0.9298, allocations: 367.6 kB / 1.418 GB, free: 5.977 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.9298, allocations: 4 kB / 1.418 GB, free: 5.973 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.9298, allocations: 0 / 1.418 GB, free: 5.973 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.9298, allocations: 0 / 1.418 GB, free: 5.973 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.9313, allocations: 0.9332 MB / 1.419 GB, free: 4.961 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.9313, allocations: 4 kB / 1.419 GB, free: 4.957 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.9316, allocations: 51.91 kB / 1.419 GB, free: 4.906 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/0.9316, allocations: 8.156 kB / 1.419 GB, free: 4.898 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.9316, allocations: 8 kB / 1.419 GB, free: 4.891 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.9317, allocations: 0 / 1.419 GB, free: 4.891 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.9317, allocations: 4 kB / 1.419 GB, free: 4.887 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.9327, allocations: 0.6317 MB / 1.42 GB, free: 4.219 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.9329, allocations: 156.7 kB / 1.42 GB, free: 4.047 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.455e-05/0.9329, allocations: 4 kB / 1.42 GB, free: 4.043 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.9332, allocations: 11.94 kB / 1.42 GB, free: 4.031 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/0.9332, allocations: 24.03 kB / 1.42 GB, free: 4.008 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.9333, allocations: 8 kB / 1.42 GB, free: 4 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0003172/0.9336, allocations: 287.1 kB / 1.42 GB, free: 3.723 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9336, allocations: 0 / 1.42 GB, free: 3.723 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.000463/0.934, allocations: 111.8 kB / 1.42 GB, free: 3.613 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.001605/0.9357, allocations: 1.249 MB / 1.422 GB, free: 2.324 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0006273/0.9363, allocations: 291.9 kB / 1.422 GB, free: 2.039 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.9363, allocations: 8 kB / 1.422 GB, free: 2.031 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.9366, allocations: 150 kB / 1.422 GB, free: 1.887 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.9377, allocations: 215.8 kB / 1.422 GB, free: 1.676 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005074/0.9428, allocations: 3.815 MB / 1.426 GB, free: 13.7 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.9433, allocations: 0.835 MB / 1.427 GB, free: 12.83 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003041/0.9436, allocations: 99.39 kB / 1.427 GB, free: 12.73 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/0.9438, allocations: 139.4 kB / 1.427 GB, free: 12.59 MB / 1.154 GB Notification: Performance of SimCode: time 4.91e-07/0.9438, allocations: 0 / 1.427 GB, free: 12.59 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03776/0.9816, allocations: 11.69 MB / 1.438 GB, free: 1.152 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.481/9.463, allocations: 15.22 kB / 1.438 GB, free: 1.141 MB / 1.154 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_11_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches