Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.SprayAirWasher_X,fileNamePrefix="Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="Buildings_latest_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.00101/0.00101, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.004613/0.004613, allocations: 171.9 kB / 16.26 MB, free: 6.613 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.276/1.276, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.508/2.508, allocations: 462.7 MB / 0.7364 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002913, allocations: 10.38 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2425, allocations: 159.6 MB / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.1584/0.401, allocations: 175.8 MB / 1.23 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005335/0.4064, allocations: 3.727 MB / 1.234 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005818/0.407, allocations: 27.81 kB / 1.234 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009276/0.4079, allocations: 370.2 kB / 1.234 GB, free: 304 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002501/0.4104, allocations: 1.167 MB / 1.236 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.412, allocations: 0.6619 MB / 1.236 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001834/0.4138, allocations: 1.828 MB / 1.238 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006106/0.4145, allocations: 414.3 kB / 1.238 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002045/0.4165, allocations: 0.8852 MB / 1.239 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004967/0.417, allocations: 462.1 kB / 1.24 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.604e-05/0.4171, allocations: 24 kB / 1.24 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001699/0.4188, allocations: 1.317 MB / 1.241 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.4189, allocations: 171.4 kB / 1.241 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002537/0.4192, allocations: 328 kB / 1.242 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.4204, allocations: 1.215 MB / 1.243 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.4204, allocations: 0 / 1.243 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.554e-06/0.4204, allocations: 3.984 kB / 1.243 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.4204, allocations: 0 / 1.243 GB, free: 7.832 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.001611/0.422, allocations: 0.9194 MB / 1.244 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.4221, allocations: 15.95 kB / 1.244 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.485e-05/0.4222, allocations: 82.53 kB / 1.244 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.4234, allocations: 230.9 kB / 1.244 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006639/0.4241, allocations: 0.5304 MB / 1.244 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.4241, allocations: 29 kB / 1.244 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.346e-05/0.4242, allocations: 40 kB / 1.244 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009273/0.4251, allocations: 0.5426 MB / 1.245 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.4251, allocations: 0 / 1.245 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.456e-05/0.4252, allocations: 19.98 kB / 1.245 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.4252, allocations: 13 kB / 1.245 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.4263, allocations: 0.5153 MB / 1.246 GB, free: 4.781 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.002736/0.429, allocations: 2.234 MB / 1.248 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006419/0.4297, allocations: 351.7 kB / 1.248 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.4299, allocations: 140.8 kB / 1.248 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/0.4311, allocations: 0.865 MB / 1.249 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002716/0.4314, allocations: 190.5 kB / 1.249 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 1.252e-06/0.4314, allocations: 0 / 1.249 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26): time 0.0008566/0.4322, allocations: 438.9 kB / 1.25 GB, free: 184 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.4323, allocations: 81.11 kB / 1.25 GB, free: 84 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4047/0.837, allocations: 0.6538 MB / 1.25 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.532e-05/0.8371, allocations: 33.42 kB / 1.25 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.8373, allocations: 316.2 kB / 1.251 GB, free: 193 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.325e-05/0.8374, allocations: 88.02 kB / 1.251 GB, free: 193 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/0.8374, allocations: 34.95 kB / 1.251 GB, free: 193 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.697e-05/0.8375, allocations: 375.5 kB / 1.251 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003308/0.8379, allocations: 130.5 kB / 1.251 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003826/0.8383, allocations: 281.3 kB / 1.252 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000597/0.8389, allocations: 381.2 kB / 1.252 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.8389, allocations: 0.9062 kB / 1.252 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009346/0.8398, allocations: 483.2 kB / 1.252 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.871e-05/0.8399, allocations: 203.9 kB / 1.253 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.8399, allocations: 4.875 kB / 1.253 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.8399, allocations: 6.719 kB / 1.253 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/0.8403, allocations: 88.38 kB / 1.253 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.8404, allocations: 7.078 kB / 1.253 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005936/0.841, allocations: 94.59 kB / 1.253 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.841, allocations: 23.86 kB / 1.253 GB, free: 192 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.942e-06/0.841, allocations: 3.125 kB / 1.253 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008055/0.8418, allocations: 387.4 kB / 1.253 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.8418, allocations: 11.33 kB / 1.253 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.933e-06/0.8419, allocations: 6.031 kB / 1.253 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/0.8422, allocations: 89.08 kB / 1.253 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.8422, allocations: 6.578 kB / 1.253 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004428/0.8427, allocations: 76.14 kB / 1.253 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.8427, allocations: 18.47 kB / 1.253 GB, free: 192 MB / 0.9981 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.0002012/0.8429, allocations: 284.1 kB / 1.254 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.906e-05/0.843, allocations: 64.03 kB / 1.254 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005253/0.8435, allocations: 325.2 kB / 1.254 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.8436, allocations: 3.062 kB / 1.254 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.8436, allocations: 5.281 kB / 1.254 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.8436, allocations: 0.6562 kB / 1.254 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.8447, allocations: 1.086 MB / 1.255 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.8448, allocations: 3.031 kB / 1.255 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.8449, allocations: 40 kB / 1.255 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.8449, allocations: 2.75 kB / 1.255 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.8449, allocations: 15.94 kB / 1.255 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.845, allocations: 2.688 kB / 1.255 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.845, allocations: 2.844 kB / 1.255 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004068/0.8454, allocations: 479.1 kB / 1.256 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.8455, allocations: 168.2 kB / 1.256 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.803e-05/0.8456, allocations: 9.062 kB / 1.256 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003357/0.8459, allocations: 31.19 kB / 1.256 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.846, allocations: 30.88 kB / 1.256 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.846, allocations: 6.25 kB / 1.256 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004969/0.8465, allocations: 480.9 kB / 1.256 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8465, allocations: 0 / 1.256 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007463/0.8473, allocations: 271 kB / 1.257 GB, free: 190.7 MB / 0.9981 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.001498/0.8488, allocations: 1.428 MB / 1.258 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000896/0.8497, allocations: 0.4907 MB / 1.258 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.8497, allocations: 0 / 1.258 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.8499, allocations: 123.6 kB / 1.259 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.8512, allocations: 273.9 kB / 1.259 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005297/0.8565, allocations: 4.948 MB / 1.264 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.8568, allocations: 0.8923 MB / 1.265 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006072/0.8574, allocations: 176.7 kB / 1.265 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.8577, allocations: 198.4 kB / 1.265 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/0.8577, allocations: 0.5469 kB / 1.265 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.283/2.14, allocations: 14.87 MB / 1.279 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/2.141, allocations: 258.2 kB / 1.28 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.211/4.352, allocations: 4.062 kB / 1.28 GB, free: 183.2 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.fmu > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches