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: translateModel(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|XSet.y.1.|senHum.X|hum.sta_a.T|hum.sta_b.T|hum.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X") translateModel(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|XSet.y.1.|senHum.X|hum.sta_a.T|hum.sta_b.T|hum.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 100.1 kB / 15.88 MB, free: 12 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.002119/0.002119, allocations: 199.7 kB / 16.79 MB, free: 6.809 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.369/1.369, allocations: 222.9 MB / 240.5 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.678/2.678, allocations: 461.8 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 64.36 kB / 0.899 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3428, allocations: 157.4 MB / 1.053 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.1866/0.5295, allocations: 178.1 MB / 1.227 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007111/0.5367, allocations: 3.788 MB / 1.23 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.5379, allocations: 23.81 kB / 1.23 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.5394, allocations: 374.2 kB / 1.231 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003733/0.5432, allocations: 1.174 MB / 1.232 GB, free: 212 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002227/0.5455, allocations: 0.6558 MB / 1.233 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002577/0.548, allocations: 1.836 MB / 1.234 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009819/0.549, allocations: 414.1 kB / 1.235 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003208/0.5523, allocations: 0.9005 MB / 1.236 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.5533, allocations: 478.1 kB / 1.236 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.5535, allocations: 24 kB / 1.236 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002859/0.5563, allocations: 1.325 MB / 1.237 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000351/0.5567, allocations: 183.4 kB / 1.238 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006293/0.5574, allocations: 298.3 kB / 1.238 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001651/0.559, allocations: 0.8536 MB / 1.239 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.559, allocations: 0 / 1.239 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.559, allocations: 0 / 1.239 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.541e-05/0.5591, allocations: 4 kB / 1.239 GB, free: 9.254 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.002908/0.562, allocations: 1.053 MB / 1.24 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.5621, allocations: 11.97 kB / 1.24 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.5636, allocations: 222.9 kB / 1.24 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.5646, allocations: 0.5304 MB / 1.24 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/0.5646, allocations: 29 kB / 1.24 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.671e-05/0.5647, allocations: 40 kB / 1.241 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.5659, allocations: 0.5309 MB / 1.241 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.5659, allocations: 0 / 1.241 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.564e-05/0.566, allocations: 19.98 kB / 1.241 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.564e-05/0.566, allocations: 24.98 kB / 1.241 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.5673, allocations: 0.4996 MB / 1.242 GB, free: 6.188 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.003827/0.5711, allocations: 2.211 MB / 1.244 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008168/0.572, allocations: 363.6 kB / 1.244 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.5722, allocations: 144.7 kB / 1.244 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001416/0.5736, allocations: 0.8377 MB / 1.245 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003636/0.574, allocations: 190.9 kB / 1.245 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 2.595e-06/0.574, allocations: 0 / 1.245 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26): time 0.001121/0.5752, allocations: 437.9 kB / 1.246 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.5752, allocations: 81.11 kB / 1.246 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009967/0.5763, allocations: 0.6524 MB / 1.246 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.5763, allocations: 33.7 kB / 1.246 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/0.5766, allocations: 323.8 kB / 1.247 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.677e-05/0.5767, allocations: 90.73 kB / 1.247 GB, free: 424 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.5769, allocations: 77.59 kB / 1.247 GB, free: 340 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.6426/1.219, allocations: 374.5 kB / 1.247 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005722/1.22, allocations: 132.6 kB / 1.247 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005097/1.221, allocations: 279.6 kB / 1.248 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006576/1.221, allocations: 385 kB / 1.248 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/1.221, allocations: 1.156 kB / 1.248 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001197/1.222, allocations: 477.3 kB / 1.248 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/1.223, allocations: 11.16 kB / 1.248 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/1.223, allocations: 4.781 kB / 1.248 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.043e-05/1.223, allocations: 6.656 kB / 1.248 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004595/1.223, allocations: 84.83 kB / 1.249 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.842e-05/1.223, allocations: 10.66 kB / 1.249 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006873/1.224, allocations: 83.09 kB / 1.249 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.165e-05/1.224, allocations: 20.08 kB / 1.249 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006085/1.224, allocations: 293.6 kB / 1.249 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004459/1.225, allocations: 273 kB / 1.249 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006106/1.226, allocations: 389.4 kB / 1.25 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.115e-06/1.226, allocations: 1.031 kB / 1.25 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.001026/1.227, allocations: 481.7 kB / 1.25 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/1.227, allocations: 7.75 kB / 1.25 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/1.227, allocations: 4.938 kB / 1.25 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/1.227, allocations: 5.531 kB / 1.25 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000425/1.227, allocations: 88.55 kB / 1.25 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/1.227, allocations: 7.625 kB / 1.25 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006364/1.228, allocations: 73.77 kB / 1.25 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.765e-05/1.228, allocations: 22.67 kB / 1.25 GB, free: 195.1 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.0001833/1.228, allocations: 207.3 kB / 1.25 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.071e-05/1.228, allocations: 60.38 kB / 1.25 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006694/1.229, allocations: 322.7 kB / 1.251 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.229, allocations: 5.266 kB / 1.251 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/1.229, allocations: 0 / 1.251 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/1.229, allocations: 8.344 kB / 1.251 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/1.23, allocations: 1.09 MB / 1.252 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/1.23, allocations: 3.562 kB / 1.252 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/1.23, allocations: 41.06 kB / 1.252 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/1.23, allocations: 5.719 kB / 1.252 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/1.23, allocations: 10.06 kB / 1.252 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/1.23, allocations: 5.219 kB / 1.252 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/1.23, allocations: 7.188 kB / 1.252 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004652/1.231, allocations: 467.9 kB / 1.252 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/1.231, allocations: 161.5 kB / 1.252 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.505e-05/1.231, allocations: 12.62 kB / 1.253 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/1.231, allocations: 26.03 kB / 1.253 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/1.231, allocations: 28.03 kB / 1.253 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/1.231, allocations: 13.88 kB / 1.253 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005508/1.232, allocations: 471.9 kB / 1.253 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.232, allocations: 3.844 kB / 1.253 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009593/1.233, allocations: 274.6 kB / 1.253 GB, free: 193.8 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.001191/1.234, allocations: 0.5143 MB / 1.254 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001068/1.235, allocations: 0.4964 MB / 1.254 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/1.235, allocations: 0.5 kB / 1.254 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001846/1.235, allocations: 129.4 kB / 1.254 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/1.237, allocations: 266.2 kB / 1.255 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/1.238, allocations: 1.243 MB / 1.256 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/1.239, allocations: 0.8894 MB / 1.257 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/1.239, allocations: 48.31 kB / 1.257 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.603e-06/1.239, allocations: 6.938 kB / 1.257 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.02065/1.259, allocations: 9.761 MB / 1.266 GB, free: 191.3 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.makefile (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 & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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