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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001702/0.001702, allocations: 108 kB / 15.61 MB, free: 152 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.002501/0.002502, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.41/1.41, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.851/2.851, allocations: 469.4 MB / 0.742 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 64.05 kB / 0.9083 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3141, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2199/0.5341, allocations: 179.4 MB / 1.239 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009039/0.5432, allocations: 7.822 MB / 1.247 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006209/0.5438, allocations: 19.88 kB / 1.247 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008243/0.5446, allocations: 250.2 kB / 1.247 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003091/0.5478, allocations: 1.221 MB / 1.248 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.5496, allocations: 0.7277 MB / 1.249 GB, free: 352 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.6471/1.197, allocations: 1.067 MB / 1.25 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000783/1.198, allocations: 405.9 kB / 1.25 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00252/1.2, allocations: 0.8257 MB / 1.251 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006946/1.201, allocations: 435.2 kB / 1.251 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.42e-05/1.201, allocations: 36.72 kB / 1.251 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001854/1.203, allocations: 0.9492 MB / 1.252 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001874/1.203, allocations: 158.7 kB / 1.252 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002754/1.203, allocations: 247 kB / 1.253 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001323/1.205, allocations: 0.924 MB / 1.254 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.205, allocations: 1.094 kB / 1.254 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.623e-06/1.205, allocations: 0 / 1.254 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.456e-06/1.205, allocations: 1.844 kB / 1.254 GB, free: 6.133 MB / 0.9981 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.001283/1.206, allocations: 0.8081 MB / 1.254 GB, free: 21.62 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/1.206, allocations: 10.47 kB / 1.254 GB, free: 21.62 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.468e-05/1.206, allocations: 80.34 kB / 1.254 GB, free: 21.58 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009335/1.207, allocations: 144.4 kB / 1.255 GB, free: 21.56 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/1.207, allocations: 384.9 kB / 1.255 GB, free: 21.32 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/1.208, allocations: 30.77 kB / 1.255 GB, free: 21.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.21e-05/1.208, allocations: 36.72 kB / 1.255 GB, free: 21.32 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000656/1.208, allocations: 447.2 kB / 1.255 GB, free: 21.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/1.208, allocations: 3.188 kB / 1.255 GB, free: 21.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/1.208, allocations: 19.72 kB / 1.255 GB, free: 21.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/1.208, allocations: 11.47 kB / 1.255 GB, free: 21.23 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005179/1.209, allocations: 315.7 kB / 1.256 GB, free: 21.23 MB / 1.014 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.001827/1.211, allocations: 2.032 MB / 1.258 GB, free: 19.89 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/1.211, allocations: 234 kB / 1.258 GB, free: 19.87 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/1.211, allocations: 150.5 kB / 1.258 GB, free: 19.86 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000574/1.212, allocations: 307.2 kB / 1.258 GB, free: 19.58 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/1.212, allocations: 34.7 kB / 1.258 GB, free: 19.54 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 1.553e-06/1.212, allocations: 1 kB / 1.258 GB, free: 19.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.0009422/1.213, allocations: 455 kB / 1.259 GB, free: 19.49 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/1.213, allocations: 54.72 kB / 1.259 GB, free: 19.43 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003649/1.213, allocations: 403.1 kB / 1.259 GB, free: 19.31 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/1.213, allocations: 33.23 kB / 1.259 GB, free: 19.28 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/1.213, allocations: 224.9 kB / 1.26 GB, free: 19.16 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.679e-05/1.214, allocations: 87.47 kB / 1.26 GB, free: 19.11 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.509e-05/1.214, allocations: 56.06 kB / 1.26 GB, free: 19.09 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.214, allocations: 356.4 kB / 1.26 GB, free: 18.78 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/1.214, allocations: 111.6 kB / 1.26 GB, free: 18.78 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/1.214, allocations: 182.4 kB / 1.26 GB, free: 18.71 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004525/1.215, allocations: 311 kB / 1.261 GB, free: 18.64 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.215, allocations: 0 / 1.261 GB, free: 18.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005816/1.215, allocations: 372.5 kB / 1.261 GB, free: 18.59 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/1.215, allocations: 6.594 kB / 1.261 GB, free: 18.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/1.215, allocations: 4.359 kB / 1.261 GB, free: 18.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/1.215, allocations: 7.438 kB / 1.261 GB, free: 18.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/1.216, allocations: 60.98 kB / 1.261 GB, free: 18.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/1.216, allocations: 4.094 kB / 1.261 GB, free: 18.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/1.216, allocations: 39.47 kB / 1.261 GB, free: 18.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/1.216, allocations: 13.97 kB / 1.261 GB, free: 18.56 MB / 1.014 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.0001601/1.216, allocations: 168.5 kB / 1.261 GB, free: 18.45 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/1.216, allocations: 37.91 kB / 1.261 GB, free: 18.43 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006694/1.217, allocations: 368.2 kB / 1.262 GB, free: 18.39 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/1.217, allocations: 3.438 kB / 1.262 GB, free: 18.39 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.217, allocations: 2.266 kB / 1.262 GB, free: 18.39 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/1.217, allocations: 2.781 kB / 1.262 GB, free: 18.39 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/1.218, allocations: 0.9361 MB / 1.263 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.218, allocations: 9.047 kB / 1.263 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/1.219, allocations: 49.45 kB / 1.263 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/1.219, allocations: 4.484 kB / 1.263 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/1.219, allocations: 9.859 kB / 1.263 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/1.219, allocations: 5.703 kB / 1.263 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.219, allocations: 6.281 kB / 1.263 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008601/1.219, allocations: 0.6259 MB / 1.263 GB, free: 17.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/1.22, allocations: 146.8 kB / 1.263 GB, free: 17.69 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.661e-05/1.22, allocations: 11.09 kB / 1.263 GB, free: 17.69 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/1.22, allocations: 8.781 kB / 1.263 GB, free: 17.69 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/1.22, allocations: 19.67 kB / 1.263 GB, free: 17.69 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/1.22, allocations: 9.469 kB / 1.263 GB, free: 17.69 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002622/1.22, allocations: 286.1 kB / 1.264 GB, free: 17.61 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.22, allocations: 0.8438 kB / 1.264 GB, free: 17.61 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004503/1.221, allocations: 114.7 kB / 1.264 GB, free: 17.59 MB / 1.014 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.001421/1.222, allocations: 1.239 MB / 1.265 GB, free: 16.85 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005642/1.223, allocations: 304.2 kB / 1.265 GB, free: 16.84 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/1.223, allocations: 0 / 1.265 GB, free: 16.84 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002482/1.223, allocations: 147.5 kB / 1.265 GB, free: 16.84 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/1.224, allocations: 230.6 kB / 1.266 GB, free: 16.81 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004615/1.229, allocations: 3.841 MB / 1.269 GB, free: 15.09 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/1.229, allocations: 0.8291 MB / 1.27 GB, free: 14.39 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004109/1.23, allocations: 97.61 kB / 1.27 GB, free: 14.38 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/1.23, allocations: 137.4 kB / 1.27 GB, free: 14.38 MB / 1.014 GB Notification: Performance of SimCode: time 3.8e-07/1.23, allocations: 0 / 1.27 GB, free: 14.38 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03672/1.266, allocations: 11.58 MB / 1.282 GB, free: 13.58 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.775/9.041, allocations: 3.969 kB / 1.282 GB, free: 13.58 MB / 1.014 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