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.001582/0.001582, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002189/0.002189, allocations: 189.3 kB / 16.25 MB, free: 6.625 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.567/1.567, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.059/3.059, allocations: 461.9 MB / 0.7344 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 66.92 kB / 0.8987 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3594, allocations: 157.4 MB / 1.052 GB, free: 8.57 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2046/0.5641, allocations: 177 MB / 1.225 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009394/0.5735, allocations: 7.776 MB / 1.233 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006787/0.5743, allocations: 23.88 kB / 1.233 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008415/0.5752, allocations: 194.8 kB / 1.233 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003251/0.5784, allocations: 1.148 MB / 1.234 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.5803, allocations: 0.6733 MB / 1.235 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001453/0.5818, allocations: 1.079 MB / 1.236 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007439/0.5826, allocations: 401.3 kB / 1.236 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002915/0.5855, allocations: 0.8177 MB / 1.237 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000832/0.5863, allocations: 458.3 kB / 1.238 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.5865, allocations: 40 kB / 1.238 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001945/0.5884, allocations: 0.978 MB / 1.239 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002512/0.5887, allocations: 167.5 kB / 1.239 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004265/0.5891, allocations: 242.8 kB / 1.239 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002041/0.5912, allocations: 0.9932 MB / 1.24 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5912, allocations: 4 kB / 1.24 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5912, allocations: 0 / 1.24 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.1e-05/0.5912, allocations: 0 / 1.24 GB, free: 7.883 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.001507/0.5927, allocations: 0.7988 MB / 1.241 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.5928, allocations: 12.62 kB / 1.241 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.5929, allocations: 82.41 kB / 1.241 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.5939, allocations: 143.3 kB / 1.241 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006449/0.5946, allocations: 383.4 kB / 1.241 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.5946, allocations: 29 kB / 1.241 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.676e-05/0.5947, allocations: 40 kB / 1.241 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007964/0.5955, allocations: 446.4 kB / 1.242 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.5955, allocations: 0 / 1.242 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.5956, allocations: 19.94 kB / 1.242 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.5956, allocations: 15.98 kB / 1.242 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006557/0.5962, allocations: 323.7 kB / 1.242 GB, free: 5.492 MB / 0.9981 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.00239/0.5986, allocations: 2.012 MB / 1.244 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000403/0.5991, allocations: 234.5 kB / 1.244 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.5993, allocations: 144.8 kB / 1.244 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005974/0.5999, allocations: 311.2 kB / 1.245 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.6, allocations: 34.56 kB / 1.245 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 3.145e-06/0.6, allocations: 0 / 1.245 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.00103/0.601, allocations: 463.1 kB / 1.245 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.601, allocations: 55.41 kB / 1.245 GB, free: 2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004267/0.6015, allocations: 394 kB / 1.246 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.6015, allocations: 33.7 kB / 1.246 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.6017, allocations: 232.2 kB / 1.246 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.948e-05/0.6018, allocations: 78.84 kB / 1.246 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.583e-05/0.6019, allocations: 57.61 kB / 1.246 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.602, allocations: 354.7 kB / 1.246 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.6023, allocations: 119.9 kB / 1.246 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.6026, allocations: 178.8 kB / 1.247 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/0.6031, allocations: 309.7 kB / 1.247 GB, free: 204 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.6031, allocations: 0 / 1.247 GB, free: 204 kB / 0.9981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.4575/1.061, allocations: 361.7 kB / 1.247 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/1.061, allocations: 5.125 kB / 1.247 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.061, allocations: 3.219 kB / 1.247 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/1.061, allocations: 2.875 kB / 1.247 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/1.061, allocations: 61.92 kB / 1.247 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/1.061, allocations: 10.64 kB / 1.247 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003444/1.061, allocations: 51.44 kB / 1.247 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/1.061, allocations: 10.64 kB / 1.247 GB, free: 197.2 MB / 0.9981 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.0001853/1.062, allocations: 168.8 kB / 1.248 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.948e-05/1.062, allocations: 38.78 kB / 1.248 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007057/1.062, allocations: 372.5 kB / 1.248 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/1.062, allocations: 3.656 kB / 1.248 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/1.062, allocations: 0.75 kB / 1.248 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/1.062, allocations: 2.516 kB / 1.248 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/1.064, allocations: 0.9341 MB / 1.249 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.064, allocations: 1.812 kB / 1.249 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/1.064, allocations: 55.81 kB / 1.249 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/1.064, allocations: 7.891 kB / 1.249 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/1.064, allocations: 7.156 kB / 1.249 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/1.064, allocations: 5.375 kB / 1.249 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.064, allocations: 2.062 kB / 1.249 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008347/1.065, allocations: 0.6263 MB / 1.25 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/1.065, allocations: 155.8 kB / 1.25 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.335e-05/1.065, allocations: 7.438 kB / 1.25 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/1.065, allocations: 23.83 kB / 1.25 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/1.065, allocations: 25.53 kB / 1.25 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/1.065, allocations: 7.25 kB / 1.25 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002726/1.066, allocations: 284.9 kB / 1.25 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.066, allocations: 0 / 1.25 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000453/1.066, allocations: 119.7 kB / 1.25 GB, free: 196.2 MB / 0.9981 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.001236/1.067, allocations: 1.24 MB / 1.251 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005482/1.068, allocations: 296.2 kB / 1.252 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.068, allocations: 0 / 1.252 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002293/1.068, allocations: 153.6 kB / 1.252 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009459/1.069, allocations: 228.6 kB / 1.252 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003736/1.073, allocations: 3.97 MB / 1.256 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/1.073, allocations: 0.8247 MB / 1.257 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003051/1.073, allocations: 99.7 kB / 1.257 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/1.074, allocations: 141.5 kB / 1.257 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/1.074, allocations: 0 / 1.257 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.249/7.323, allocations: 11.4 MB / 1.268 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/7.323, allocations: 261.6 kB / 1.268 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.319/11.64, allocations: 0 / 1.268 GB, free: 191.3 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 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.mat","/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