Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_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 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.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="Buildings_11_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="Buildings_11_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_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.004361/0.004361, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001208/0.001208, allocations: 196.9 kB / 16.67 MB, free: 5.973 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.884/2.884, allocations: 469.8 MB / 0.7425 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 68.11 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2901, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.7712/1.061, allocations: 180.3 MB / 1.396 GB, free: 8.266 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.006551/1.068, allocations: 3.743 MB / 1.4 GB, free: 5.25 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007396/1.069, allocations: 27.22 kB / 1.4 GB, free: 5.238 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00121/1.07, allocations: 437.3 kB / 1.4 GB, free: 4.902 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003352/1.073, allocations: 1.242 MB / 1.402 GB, free: 3.965 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002142/1.075, allocations: 0.7536 MB / 1.402 GB, free: 3.41 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002074/1.078, allocations: 1.365 MB / 1.404 GB, free: 2.613 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009654/1.079, allocations: 475.6 kB / 1.404 GB, free: 2.32 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002713/1.081, allocations: 0.9693 MB / 1.405 GB, free: 1.727 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009011/1.082, allocations: 460.1 kB / 1.405 GB, free: 1.469 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001155/1.082, allocations: 43.06 kB / 1.406 GB, free: 1.469 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002318/1.085, allocations: 1.194 MB / 1.407 GB, free: 0.8008 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002765/1.085, allocations: 198.1 kB / 1.407 GB, free: 0.668 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005189/1.085, allocations: 315.9 kB / 1.407 GB, free: 480 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002229/1.088, allocations: 1.201 MB / 1.408 GB, free: 15.71 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.088, allocations: 1.469 kB / 1.408 GB, free: 15.71 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.784e-06/1.088, allocations: 0 / 1.408 GB, free: 15.71 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.247e-05/1.088, allocations: 4 kB / 1.408 GB, free: 15.71 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.002406/1.09, allocations: 1.075 MB / 1.409 GB, free: 14.82 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/1.09, allocations: 9.625 kB / 1.409 GB, free: 14.82 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/1.09, allocations: 76.28 kB / 1.409 GB, free: 14.75 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/1.092, allocations: 220.2 kB / 1.41 GB, free: 14.64 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009812/1.093, allocations: 0.5751 MB / 1.41 GB, free: 14.16 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/1.093, allocations: 30.31 kB / 1.41 GB, free: 14.15 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.668e-05/1.093, allocations: 38.12 kB / 1.41 GB, free: 14.14 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/1.094, allocations: 0.5406 MB / 1.411 GB, free: 13.8 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/1.094, allocations: 0 / 1.411 GB, free: 13.8 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.144e-05/1.094, allocations: 15.69 kB / 1.411 GB, free: 13.79 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.32e-05/1.094, allocations: 16.34 kB / 1.411 GB, free: 13.79 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/1.095, allocations: 0.5032 MB / 1.411 GB, free: 13.54 MB / 1.107 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.003677/1.099, allocations: 2.23 MB / 1.414 GB, free: 11.59 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007371/1.1, allocations: 344.5 kB / 1.414 GB, free: 11.36 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/1.1, allocations: 144.9 kB / 1.414 GB, free: 11.29 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001378/1.101, allocations: 0.8421 MB / 1.415 GB, free: 10.38 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003334/1.102, allocations: 193.6 kB / 1.415 GB, free: 10.23 MB / 1.107 GB Notification: Performance of pre-optimization done (n=26): time 2.054e-06/1.102, allocations: 2.5 kB / 1.415 GB, free: 10.23 MB / 1.107 GB Notification: Performance of matching and sorting (n=26): time 0.001041/1.103, allocations: 442.1 kB / 1.415 GB, free: 10.01 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/1.103, allocations: 81.95 kB / 1.416 GB, free: 9.914 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008741/1.104, allocations: 0.6538 MB / 1.416 GB, free: 9.543 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/1.104, allocations: 32.17 kB / 1.416 GB, free: 9.508 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002663/1.104, allocations: 322.5 kB / 1.416 GB, free: 9.223 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 8.484e-05/1.104, allocations: 92 kB / 1.417 GB, free: 9.145 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/1.104, allocations: 83.84 kB / 1.417 GB, free: 9.09 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.00018/1.104, allocations: 367.8 kB / 1.417 GB, free: 8.734 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/1.105, allocations: 147.7 kB / 1.417 GB, free: 8.656 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/1.105, allocations: 276.3 kB / 1.417 GB, free: 8.414 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006755/1.106, allocations: 388 kB / 1.418 GB, free: 8.121 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.106, allocations: 1.594 kB / 1.418 GB, free: 8.121 MB / 1.107 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001069/1.107, allocations: 485.5 kB / 1.418 GB, free: 7.871 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/1.107, allocations: 7 kB / 1.418 GB, free: 7.871 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/1.107, allocations: 3.625 kB / 1.418 GB, free: 7.871 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/1.107, allocations: 9.5 kB / 1.418 GB, free: 7.867 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003958/1.108, allocations: 84.89 kB / 1.418 GB, free: 7.848 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/1.108, allocations: 12.31 kB / 1.418 GB, free: 7.844 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000626/1.108, allocations: 80.78 kB / 1.418 GB, free: 7.797 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/1.108, allocations: 24.45 kB / 1.418 GB, free: 7.789 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005316/1.109, allocations: 294 kB / 1.419 GB, free: 7.602 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004844/1.109, allocations: 267.7 kB / 1.419 GB, free: 7.367 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006921/1.11, allocations: 385.9 kB / 1.419 GB, free: 7.078 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.497e-06/1.11, allocations: 3.938 kB / 1.419 GB, free: 7.074 MB / 1.107 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.00102/1.111, allocations: 482 kB / 1.42 GB, free: 6.828 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/1.111, allocations: 9.719 kB / 1.42 GB, free: 6.828 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/1.111, allocations: 2.719 kB / 1.42 GB, free: 6.828 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.043e-06/1.111, allocations: 6.844 kB / 1.42 GB, free: 6.828 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/1.111, allocations: 89.73 kB / 1.42 GB, free: 6.805 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/1.112, allocations: 12.55 kB / 1.42 GB, free: 6.797 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005663/1.112, allocations: 58.45 kB / 1.42 GB, free: 6.77 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/1.112, allocations: 23.17 kB / 1.42 GB, free: 6.762 MB / 1.107 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.0001727/1.112, allocations: 210.7 kB / 1.42 GB, free: 6.559 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.65e-05/1.112, allocations: 67.11 kB / 1.42 GB, free: 6.52 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006159/1.113, allocations: 319.7 kB / 1.421 GB, free: 6.324 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/1.113, allocations: 2.75 kB / 1.421 GB, free: 6.324 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.113, allocations: 0 / 1.421 GB, free: 6.324 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/1.113, allocations: 3.938 kB / 1.421 GB, free: 6.32 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/1.115, allocations: 1.084 MB / 1.422 GB, free: 5.461 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/1.115, allocations: 3.156 kB / 1.422 GB, free: 5.461 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/1.115, allocations: 43.45 kB / 1.422 GB, free: 5.449 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/1.115, allocations: 4.812 kB / 1.422 GB, free: 5.449 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/1.115, allocations: 6.781 kB / 1.422 GB, free: 5.445 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/1.115, allocations: 4.531 kB / 1.422 GB, free: 5.445 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.115, allocations: 2.812 kB / 1.422 GB, free: 5.445 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005959/1.115, allocations: 487.5 kB / 1.422 GB, free: 5.074 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/1.116, allocations: 166.3 kB / 1.422 GB, free: 4.918 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-05/1.116, allocations: 8.812 kB / 1.422 GB, free: 4.914 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/1.116, allocations: 18.7 kB / 1.422 GB, free: 4.906 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.045e-05/1.116, allocations: 25.95 kB / 1.422 GB, free: 4.891 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/1.116, allocations: 14.42 kB / 1.422 GB, free: 4.887 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0006597/1.117, allocations: 480.6 kB / 1.423 GB, free: 4.625 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.3e-07/1.117, allocations: 0 / 1.423 GB, free: 4.625 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008683/1.118, allocations: 269.9 kB / 1.423 GB, free: 4.57 MB / 1.107 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.002576/1.12, allocations: 1.43 MB / 1.425 GB, free: 3.508 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001211/1.122, allocations: 0.5005 MB / 1.425 GB, free: 3.008 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.122, allocations: 0 / 1.425 GB, free: 3.008 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002404/1.122, allocations: 128.9 kB / 1.425 GB, free: 2.883 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/1.123, allocations: 272.6 kB / 1.425 GB, free: 2.621 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007318/1.131, allocations: 4.68 MB / 1.43 GB, free: 13.7 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005653/1.131, allocations: 0.8899 MB / 1.431 GB, free: 12.78 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.000606/1.132, allocations: 172.8 kB / 1.431 GB, free: 12.61 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000305/1.132, allocations: 199.4 kB / 1.431 GB, free: 12.42 MB / 1.123 GB Notification: Performance of SimCode: time 6.61e-07/1.132, allocations: 0 / 1.431 GB, free: 12.42 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04346/1.176, allocations: 15.81 MB / 1.447 GB, free: 12.83 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.669/9.845, allocations: 7.922 kB / 1.447 GB, free: 12.82 MB / 1.139 GB (rm -f Buildings_11_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_11_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_11_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.csv --start-time 0 --stop-time 1080 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.432 Buildings_11_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.fmu > Buildings_11_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches