Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.Humidifiers.Validation.SteamHumidifier_X,fileNamePrefix="Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X,fileNamePrefix="Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X",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.004628/0.004628, allocations: 97.84 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.001289/0.001289, allocations: 197.5 kB / 16.67 MB, free: 5.977 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.938/2.938, allocations: 482.4 MB / 0.7548 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 59.89 kB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2878, allocations: 162.2 MB / 1.241 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X): time 0.7371/1.025, allocations: 199 MB / 1.436 GB, free: 15 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.006394/1.031, allocations: 3.767 MB / 1.439 GB, free: 11.96 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004357/1.032, allocations: 27.34 kB / 1.44 GB, free: 11.95 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001031/1.033, allocations: 426.3 kB / 1.44 GB, free: 11.62 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002719/1.036, allocations: 1.247 MB / 1.441 GB, free: 10.68 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001692/1.037, allocations: 0.7495 MB / 1.442 GB, free: 10.12 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001659/1.039, allocations: 1.34 MB / 1.443 GB, free: 9.16 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007234/1.04, allocations: 499.3 kB / 1.444 GB, free: 8.668 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002645/1.042, allocations: 1.115 MB / 1.445 GB, free: 7.559 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006262/1.043, allocations: 450.2 kB / 1.445 GB, free: 7.117 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 8.223e-05/1.043, allocations: 44 kB / 1.445 GB, free: 7.074 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002016/1.045, allocations: 1.185 MB / 1.446 GB, free: 5.887 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002221/1.045, allocations: 199.4 kB / 1.447 GB, free: 5.691 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0003473/1.046, allocations: 326.2 kB / 1.447 GB, free: 5.371 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001785/1.048, allocations: 1.199 MB / 1.448 GB, free: 4.168 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/1.048, allocations: 0 / 1.448 GB, free: 4.168 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.303e-06/1.048, allocations: 0 / 1.448 GB, free: 4.168 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.343e-05/1.048, allocations: 0 / 1.448 GB, free: 4.168 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.002141/1.05, allocations: 1.078 MB / 1.449 GB, free: 3.039 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/1.05, allocations: 12.03 kB / 1.449 GB, free: 3.027 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001003/1.05, allocations: 82.52 kB / 1.449 GB, free: 2.938 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/1.051, allocations: 219.3 kB / 1.449 GB, free: 2.723 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009134/1.052, allocations: 0.5776 MB / 1.45 GB, free: 2.105 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.878e-05/1.052, allocations: 29 kB / 1.45 GB, free: 2.074 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.878e-05/1.052, allocations: 36 kB / 1.45 GB, free: 2.039 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/1.053, allocations: 0.5465 MB / 1.451 GB, free: 1.477 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/1.053, allocations: 0 / 1.451 GB, free: 1.477 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.749e-05/1.053, allocations: 16 kB / 1.451 GB, free: 1.461 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.253e-05/1.053, allocations: 20.98 kB / 1.451 GB, free: 1.441 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/1.055, allocations: 0.4996 MB / 1.451 GB, free: 0.9414 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.003446/1.058, allocations: 2.227 MB / 1.453 GB, free: 14.53 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008061/1.059, allocations: 347.7 kB / 1.454 GB, free: 14.16 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002531/1.059, allocations: 146.1 kB / 1.454 GB, free: 14.02 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001444/1.061, allocations: 0.8338 MB / 1.455 GB, free: 13.02 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003377/1.061, allocations: 198.4 kB / 1.455 GB, free: 12.8 MB / 1.154 GB Notification: Performance of pre-optimization done (n=26): time 1.683e-06/1.061, allocations: 0 / 1.455 GB, free: 12.8 MB / 1.154 GB Notification: Performance of matching and sorting (n=26): time 0.001033/1.062, allocations: 447.2 kB / 1.455 GB, free: 12.36 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/1.062, allocations: 81.11 kB / 1.455 GB, free: 12.27 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009524/1.063, allocations: 0.6486 MB / 1.456 GB, free: 11.61 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/1.063, allocations: 33.7 kB / 1.456 GB, free: 11.57 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/1.064, allocations: 336.1 kB / 1.456 GB, free: 11.23 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 8.565e-05/1.064, allocations: 87.27 kB / 1.456 GB, free: 11.15 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/1.064, allocations: 77.64 kB / 1.456 GB, free: 11.07 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002013/1.064, allocations: 370.8 kB / 1.457 GB, free: 10.7 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003918/1.064, allocations: 136.8 kB / 1.457 GB, free: 10.56 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005208/1.065, allocations: 277 kB / 1.457 GB, free: 10.23 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007221/1.066, allocations: 389.6 kB / 1.457 GB, free: 9.793 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.066, allocations: 0 / 1.457 GB, free: 9.793 MB / 1.154 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001106/1.067, allocations: 476.7 kB / 1.458 GB, free: 9.32 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/1.067, allocations: 4 kB / 1.458 GB, free: 9.316 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.067, allocations: 8.375 kB / 1.458 GB, free: 9.309 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/1.067, allocations: 12 kB / 1.458 GB, free: 9.297 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/1.067, allocations: 87.52 kB / 1.458 GB, free: 9.215 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/1.067, allocations: 11.98 kB / 1.458 GB, free: 9.203 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005744/1.068, allocations: 67.7 kB / 1.458 GB, free: 9.137 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.332e-05/1.068, allocations: 28.55 kB / 1.458 GB, free: 9.109 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005636/1.069, allocations: 299.9 kB / 1.458 GB, free: 8.812 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004959/1.069, allocations: 269.1 kB / 1.459 GB, free: 8.488 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007056/1.07, allocations: 391.4 kB / 1.459 GB, free: 8.055 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/1.07, allocations: 3.938 kB / 1.459 GB, free: 8.051 MB / 1.154 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.001081/1.071, allocations: 476.8 kB / 1.46 GB, free: 7.578 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/1.071, allocations: 14.75 kB / 1.46 GB, free: 7.566 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/1.071, allocations: 6.578 kB / 1.46 GB, free: 7.562 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.292e-06/1.071, allocations: 4.312 kB / 1.46 GB, free: 7.559 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004236/1.071, allocations: 99.81 kB / 1.46 GB, free: 7.461 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/1.071, allocations: 4 kB / 1.46 GB, free: 7.457 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005544/1.072, allocations: 63.78 kB / 1.46 GB, free: 7.395 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.201e-05/1.072, allocations: 23.94 kB / 1.46 GB, free: 7.371 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.XSet.nextTimeEvent,$whenCondition1,XSet.nextTimeEventScaled,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001662/1.072, allocations: 212.1 kB / 1.46 GB, free: 7.156 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.129e-05/1.072, allocations: 63.58 kB / 1.46 GB, free: 7.094 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006545/1.073, allocations: 313.4 kB / 1.46 GB, free: 6.773 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/1.073, allocations: 8 kB / 1.46 GB, free: 6.766 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.073, allocations: 0 / 1.46 GB, free: 6.766 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/1.073, allocations: 0 / 1.46 GB, free: 6.766 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/1.075, allocations: 1.106 MB / 1.461 GB, free: 5.574 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.075, allocations: 0 / 1.461 GB, free: 5.574 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/1.075, allocations: 39.92 kB / 1.461 GB, free: 5.535 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.259e-06/1.075, allocations: 4 kB / 1.461 GB, free: 5.531 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/1.075, allocations: 8 kB / 1.461 GB, free: 5.523 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/1.075, allocations: 8.297 kB / 1.461 GB, free: 5.516 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/1.075, allocations: 8.875 kB / 1.461 GB, free: 5.508 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006504/1.075, allocations: 479.3 kB / 1.462 GB, free: 4.992 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/1.076, allocations: 160.6 kB / 1.462 GB, free: 4.816 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.837e-05/1.076, allocations: 8 kB / 1.462 GB, free: 4.809 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/1.076, allocations: 23.98 kB / 1.462 GB, free: 4.785 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/1.076, allocations: 23.84 kB / 1.462 GB, free: 4.762 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/1.076, allocations: 12 kB / 1.462 GB, free: 4.75 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0007196/1.077, allocations: 479 kB / 1.463 GB, free: 4.289 MB / 1.154 GB Notification: Performance of sort global known variables: time 2e-07/1.077, allocations: 0 / 1.463 GB, free: 4.289 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008458/1.078, allocations: 267.5 kB / 1.463 GB, free: 4.027 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002674/1.08, allocations: 1.427 MB / 1.464 GB, free: 2.715 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00122/1.082, allocations: 0.5083 MB / 1.465 GB, free: 2.207 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.082, allocations: 0 / 1.465 GB, free: 2.207 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000237/1.082, allocations: 123.8 kB / 1.465 GB, free: 2.086 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/1.083, allocations: 284.3 kB / 1.465 GB, free: 1.809 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007165/1.09, allocations: 4.651 MB / 1.47 GB, free: 12.93 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005742/1.091, allocations: 0.9012 MB / 1.471 GB, free: 12 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.000582/1.092, allocations: 164.8 kB / 1.471 GB, free: 11.84 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/1.092, allocations: 199.4 kB / 1.471 GB, free: 11.64 MB / 1.17 GB Notification: Performance of SimCode: time 4.51e-07/1.092, allocations: 0 / 1.471 GB, free: 11.64 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04065/1.133, allocations: 15.81 MB / 1.486 GB, free: 12.04 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.81/9.942, allocations: 15.77 kB / 1.486 GB, free: 12.03 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_res.csv --start-time 0 --stop-time 1080 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.432 Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X.fmu > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches