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.001765/0.001765, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002418/0.002418, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.454/1.454, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.594/2.594, allocations: 437.1 MB / 0.7104 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001429, allocations: 72.08 kB / 0.8693 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6131/0.6145, allocations: 151.6 MB / 1.017 GB, free: 2.574 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1957/0.8102, allocations: 179.4 MB / 1.193 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00969/0.82, allocations: 7.836 MB / 1.2 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006167/0.8206, allocations: 15.94 kB / 1.2 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000838/0.8215, allocations: 242.2 kB / 1.2 GB, free: 6.383 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003184/0.8247, allocations: 1.225 MB / 1.202 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.8265, allocations: 0.7283 MB / 1.202 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001186/0.8277, allocations: 1.076 MB / 1.203 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005727/0.8283, allocations: 409.3 kB / 1.204 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0021/0.8304, allocations: 0.827 MB / 1.205 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005545/0.831, allocations: 446.4 kB / 1.205 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.849e-05/0.8311, allocations: 36 kB / 1.205 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.8327, allocations: 0.9393 MB / 1.206 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.8328, allocations: 159.5 kB / 1.206 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002256/0.8331, allocations: 250.8 kB / 1.206 GB, free: 316 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.8345, allocations: 0.9155 MB / 1.207 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.8346, allocations: 3.984 kB / 1.207 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.744e-06/0.8346, allocations: 3.938 kB / 1.207 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.8346, allocations: 0 / 1.207 GB, free: 15.38 MB / 0.9669 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.001114/0.8357, allocations: 0.8065 MB / 1.208 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.8358, allocations: 8.031 kB / 1.208 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.702e-05/0.8358, allocations: 82.47 kB / 1.208 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009226/0.8368, allocations: 151.3 kB / 1.208 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005154/0.8373, allocations: 379.3 kB / 1.209 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.8373, allocations: 29 kB / 1.209 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.233e-05/0.8374, allocations: 39.98 kB / 1.209 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006992/0.8381, allocations: 454.4 kB / 1.209 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.8381, allocations: 0 / 1.209 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.8382, allocations: 19.94 kB / 1.209 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.8382, allocations: 8 kB / 1.209 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006074/0.8388, allocations: 319.8 kB / 1.21 GB, free: 12.99 MB / 0.9669 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.002121/0.8409, allocations: 2.019 MB / 1.212 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004229/0.8414, allocations: 236.2 kB / 1.212 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.8416, allocations: 152.8 kB / 1.212 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005978/0.8423, allocations: 307.2 kB / 1.212 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.8423, allocations: 34.56 kB / 1.212 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=24): time 1.413e-06/0.8423, allocations: 0 / 1.212 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24): time 0.00106/0.8434, allocations: 454.2 kB / 1.213 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.8434, allocations: 55.41 kB / 1.213 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003805/0.8438, allocations: 401.9 kB / 1.213 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.8438, allocations: 29.7 kB / 1.213 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.844, allocations: 232.2 kB / 1.213 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/0.8441, allocations: 78.81 kB / 1.213 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.469e-05/0.8442, allocations: 57.7 kB / 1.213 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.8443, allocations: 362.7 kB / 1.214 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.8445, allocations: 107.9 kB / 1.214 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.8448, allocations: 182.8 kB / 1.214 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000505/0.8453, allocations: 312.7 kB / 1.214 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.8454, allocations: 4 kB / 1.214 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006232/0.846, allocations: 370.3 kB / 1.215 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.846, allocations: 4 kB / 1.215 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.846, allocations: 4 kB / 1.215 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.846, allocations: 4 kB / 1.215 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.8463, allocations: 56.12 kB / 1.215 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.8463, allocations: 8 kB / 1.215 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.8466, allocations: 43.61 kB / 1.215 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.8466, allocations: 8.047 kB / 1.215 GB, free: 7.18 MB / 0.9669 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.0001608/0.8468, allocations: 169.7 kB / 1.215 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.63e-05/0.8469, allocations: 43.52 kB / 1.215 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007049/0.8476, allocations: 372.9 kB / 1.215 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.8476, allocations: 0 / 1.215 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.8476, allocations: 0 / 1.215 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.8476, allocations: 4 kB / 1.215 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.849, allocations: 0.9431 MB / 1.216 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.849, allocations: 4 kB / 1.216 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.8493, allocations: 47.91 kB / 1.216 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.8493, allocations: 7.938 kB / 1.216 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.8493, allocations: 8 kB / 1.216 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.8493, allocations: 4 kB / 1.216 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.8493, allocations: 4.219 kB / 1.216 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009326/0.8503, allocations: 0.6293 MB / 1.217 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.8504, allocations: 144.5 kB / 1.217 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.566e-05/0.8505, allocations: 8 kB / 1.217 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.8507, allocations: 15.98 kB / 1.217 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.396e-05/0.8508, allocations: 15.97 kB / 1.217 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.8508, allocations: 16.06 kB / 1.217 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002752/0.8511, allocations: 283.1 kB / 1.217 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.384e-06/0.8511, allocations: 0 / 1.217 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000469/0.8516, allocations: 115.7 kB / 1.218 GB, free: 4.23 MB / 0.9669 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.001488/0.8531, allocations: 1.23 MB / 1.219 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006045/0.8537, allocations: 305.7 kB / 1.219 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8537, allocations: 0 / 1.219 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002667/0.854, allocations: 148.5 kB / 1.219 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.8551, allocations: 225.2 kB / 1.219 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004999/0.8601, allocations: 3.854 MB / 1.223 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004698/0.8606, allocations: 0.8311 MB / 1.224 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003596/0.861, allocations: 95.39 kB / 1.224 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/0.8612, allocations: 143.4 kB / 1.224 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of SimCode: time 7.61e-07/0.8612, allocations: 0 / 1.224 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03649/0.8977, allocations: 11.58 MB / 1.236 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.621/8.519, allocations: 10.06 kB / 1.236 GB, free: 1.84 MB / 0.9825 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