Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.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_dynamic,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_dynamic") translateModel(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,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_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009619/0.0009618, allocations: 98.72 kB / 16.02 MB, free: 72 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.001083/0.001083, allocations: 179.7 kB / 16.92 MB, free: 6.918 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.405/1.405, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.91/2.91, allocations: 462.7 MB / 0.7371 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003471, allocations: 10.97 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3168, allocations: 159.6 MB / 1.059 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic): time 0.1962/0.5131, allocations: 175.8 MB / 1.231 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007046/0.5202, allocations: 3.726 MB / 1.235 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.5213, allocations: 27.81 kB / 1.235 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.5227, allocations: 370.2 kB / 1.235 GB, free: 376 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003701/0.5264, allocations: 1.175 MB / 1.236 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002223/0.5286, allocations: 0.6563 MB / 1.237 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002635/0.5313, allocations: 1.847 MB / 1.239 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009907/0.5323, allocations: 405.6 kB / 1.239 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003135/0.5354, allocations: 0.8886 MB / 1.24 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009662/0.5364, allocations: 454.1 kB / 1.24 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.5366, allocations: 24 kB / 1.24 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002658/0.5392, allocations: 1.321 MB / 1.242 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003158/0.5396, allocations: 175.4 kB / 1.242 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006436/0.5402, allocations: 324 kB / 1.242 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.5419, allocations: 0.8496 MB / 1.243 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5419, allocations: 0 / 1.243 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.855e-06/0.5419, allocations: 0 / 1.243 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.843e-05/0.5419, allocations: 0 / 1.243 GB, free: 8.262 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.002477/0.5444, allocations: 0.9389 MB / 1.244 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.5445, allocations: 11.97 kB / 1.244 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.5459, allocations: 231 kB / 1.244 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009974/0.5469, allocations: 0.542 MB / 1.245 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.301e-05/0.547, allocations: 29 kB / 1.245 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.5471, allocations: 43.94 kB / 1.245 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.5483, allocations: 0.5474 MB / 1.245 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.5483, allocations: 3.938 kB / 1.245 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.124e-05/0.5484, allocations: 16 kB / 1.245 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.037e-05/0.5484, allocations: 17 kB / 1.245 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.5497, allocations: 0.5114 MB / 1.246 GB, free: 5.262 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.003554/0.5533, allocations: 2.23 MB / 1.248 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007419/0.5541, allocations: 352 kB / 1.248 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002539/0.5543, allocations: 153.4 kB / 1.248 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00148/0.5558, allocations: 0.865 MB / 1.249 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003639/0.5562, allocations: 205 kB / 1.249 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 2.385e-06/0.5562, allocations: 0 / 1.249 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.001166/0.5574, allocations: 461.9 kB / 1.25 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.5575, allocations: 81.11 kB / 1.25 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6072/1.165, allocations: 0.6514 MB / 1.251 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.55e-05/1.165, allocations: 33.38 kB / 1.251 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003106/1.165, allocations: 314.2 kB / 1.251 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/1.165, allocations: 99.38 kB / 1.251 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.571e-05/1.165, allocations: 37.09 kB / 1.251 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.165, allocations: 374.1 kB / 1.251 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004498/1.166, allocations: 141.2 kB / 1.252 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004667/1.166, allocations: 302.3 kB / 1.252 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000661/1.167, allocations: 404.9 kB / 1.252 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/1.167, allocations: 1.125 kB / 1.252 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001097/1.168, allocations: 496.9 kB / 1.253 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.923e-05/1.168, allocations: 207.9 kB / 1.253 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.168, allocations: 4.797 kB / 1.253 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/1.168, allocations: 6 kB / 1.253 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004455/1.169, allocations: 94.16 kB / 1.253 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/1.169, allocations: 10.3 kB / 1.253 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006682/1.169, allocations: 86.2 kB / 1.253 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.723e-05/1.17, allocations: 20.61 kB / 1.253 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.265e-06/1.17, allocations: 3.938 kB / 1.253 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009227/1.17, allocations: 416.5 kB / 1.253 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.17, allocations: 6.688 kB / 1.253 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/1.17, allocations: 5.938 kB / 1.253 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/1.171, allocations: 99.91 kB / 1.254 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/1.171, allocations: 10.12 kB / 1.254 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006763/1.172, allocations: 76.23 kB / 1.254 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.419e-05/1.172, allocations: 24.97 kB / 1.254 GB, free: 192.2 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 (47): * Single equations (assignments): 47 * 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.0003627/1.172, allocations: 283.7 kB / 1.254 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/1.172, allocations: 59.78 kB / 1.254 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006832/1.173, allocations: 346.4 kB / 1.254 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/1.173, allocations: 3.031 kB / 1.254 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.173, allocations: 2.594 kB / 1.254 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/1.173, allocations: 2.609 kB / 1.254 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/1.174, allocations: 1.109 MB / 1.255 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/1.174, allocations: 4.688 kB / 1.255 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/1.175, allocations: 46.12 kB / 1.255 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/1.175, allocations: 9.688 kB / 1.255 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/1.175, allocations: 6.875 kB / 1.256 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/1.175, allocations: 5.844 kB / 1.256 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.175, allocations: 6.781 kB / 1.256 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006849/1.175, allocations: 0.6216 MB / 1.256 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/1.175, allocations: 169.6 kB / 1.256 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.253e-05/1.176, allocations: 15.25 kB / 1.256 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/1.176, allocations: 25.31 kB / 1.256 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/1.176, allocations: 28.08 kB / 1.256 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/1.176, allocations: 9 kB / 1.256 GB, free: 191 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005526/1.177, allocations: 475.8 kB / 1.257 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.177, allocations: 0 / 1.257 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009094/1.177, allocations: 270.5 kB / 1.257 GB, free: 190.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (hum.outCon.T,hum.outCon.Xi) * 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 (27): * Single equations (assignments): 25 * 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.00121/1.179, allocations: 0.5205 MB / 1.258 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001133/1.18, allocations: 0.5288 MB / 1.258 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.18, allocations: 0 / 1.258 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/1.18, allocations: 136.4 kB / 1.258 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/1.182, allocations: 268.2 kB / 1.258 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/1.183, allocations: 1.434 MB / 1.26 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/1.184, allocations: 0.8916 MB / 1.261 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/1.184, allocations: 53.94 kB / 1.261 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.062e-06/1.184, allocations: 0 / 1.261 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.02013/1.204, allocations: 9.857 MB / 1.27 GB, free: 188.3 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches