Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: 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_9_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_9_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.009024/0.009024, allocations: 100.5 kB / 15.73 MB, free: 6.469 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.001867/0.001866, allocations: 196.7 kB / 16.67 MB, free: 6.379 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.393/2.393, allocations: 390.2 MB / 0.6648 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 62.38 kB / 0.9508 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3255, allocations: 140.4 MB / 1.088 GB, free: 1.645 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.8251/1.151, allocations: 180.3 MB / 1.264 GB, free: 3.523 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006661/1.157, allocations: 3.744 MB / 1.268 GB, free: 3.488 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009588/1.158, allocations: 28.78 kB / 1.268 GB, free: 3.488 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001245/1.16, allocations: 436.8 kB / 1.268 GB, free: 3.48 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003373/1.163, allocations: 1.244 MB / 1.269 GB, free: 3.434 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00231/1.165, allocations: 0.7514 MB / 1.27 GB, free: 3.414 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001946/1.167, allocations: 1.353 MB / 1.271 GB, free: 3.41 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007423/1.168, allocations: 475.8 kB / 1.272 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002595/1.171, allocations: 0.9908 MB / 1.273 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006516/1.171, allocations: 457 kB / 1.273 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.406e-05/1.171, allocations: 43.69 kB / 1.273 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002632/1.174, allocations: 1.189 MB / 1.274 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002558/1.174, allocations: 197.9 kB / 1.275 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004148/1.175, allocations: 322.2 kB / 1.275 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002474/1.177, allocations: 1.199 MB / 1.276 GB, free: 3.289 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.177, allocations: 1.5 kB / 1.276 GB, free: 3.289 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.713e-06/1.177, allocations: 0 / 1.276 GB, free: 3.289 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.093e-05/1.177, allocations: 0.5625 kB / 1.276 GB, free: 3.289 MB / 1.014 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.002378/1.18, allocations: 1.049 MB / 1.277 GB, free: 2.633 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/1.18, allocations: 10.89 kB / 1.277 GB, free: 2.633 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/1.181, allocations: 216.6 kB / 1.277 GB, free: 2.594 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/1.182, allocations: 0.5679 MB / 1.278 GB, free: 2.309 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.079e-05/1.182, allocations: 34.83 kB / 1.278 GB, free: 2.309 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.941e-05/1.182, allocations: 41.33 kB / 1.278 GB, free: 2.309 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/1.183, allocations: 0.5322 MB / 1.278 GB, free: 2.238 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/1.183, allocations: 0.7812 kB / 1.278 GB, free: 2.238 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.697e-05/1.184, allocations: 14.77 kB / 1.278 GB, free: 2.238 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.262e-05/1.184, allocations: 26.95 kB / 1.279 GB, free: 2.238 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/1.185, allocations: 0.5013 MB / 1.279 GB, free: 2.238 MB / 1.014 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.003317/1.188, allocations: 2.208 MB / 1.281 GB, free: 1.02 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008512/1.189, allocations: 357.3 kB / 1.282 GB, free: 16.9 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/1.189, allocations: 145.6 kB / 1.282 GB, free: 16.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001315/1.191, allocations: 0.8371 MB / 1.282 GB, free: 16.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003187/1.191, allocations: 193 kB / 1.283 GB, free: 15.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=26): time 1.993e-06/1.191, allocations: 0 / 1.283 GB, free: 15.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=26): time 0.001062/1.192, allocations: 435.2 kB / 1.283 GB, free: 15.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/1.192, allocations: 85.5 kB / 1.283 GB, free: 15.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/1.193, allocations: 0.6479 MB / 1.284 GB, free: 15.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/1.193, allocations: 32.56 kB / 1.284 GB, free: 15.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/1.194, allocations: 321 kB / 1.284 GB, free: 15.51 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.146e-05/1.194, allocations: 88.98 kB / 1.284 GB, free: 15.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/1.194, allocations: 81.78 kB / 1.284 GB, free: 15.44 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.194, allocations: 370.6 kB / 1.285 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/1.194, allocations: 138 kB / 1.285 GB, free: 15.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/1.195, allocations: 279.8 kB / 1.285 GB, free: 14.96 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006216/1.195, allocations: 392.4 kB / 1.285 GB, free: 14.81 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.195, allocations: 2.906 kB / 1.285 GB, free: 14.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009852/1.196, allocations: 475.8 kB / 1.286 GB, free: 14.75 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/1.196, allocations: 7.641 kB / 1.286 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/1.196, allocations: 5.531 kB / 1.286 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.659e-05/1.196, allocations: 7.25 kB / 1.286 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004152/1.197, allocations: 85.06 kB / 1.286 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/1.197, allocations: 8.016 kB / 1.286 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005933/1.197, allocations: 74.58 kB / 1.286 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-05/1.198, allocations: 21.55 kB / 1.286 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000487/1.198, allocations: 291.3 kB / 1.286 GB, free: 14.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004055/1.198, allocations: 282.8 kB / 1.287 GB, free: 14.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005798/1.199, allocations: 388.5 kB / 1.287 GB, free: 14.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.087e-06/1.199, allocations: 1.156 kB / 1.287 GB, free: 14.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.0009697/1.2, allocations: 481.8 kB / 1.287 GB, free: 14.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/1.2, allocations: 8.062 kB / 1.287 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.2, allocations: 3.781 kB / 1.287 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.232e-06/1.2, allocations: 6.844 kB / 1.287 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/1.2, allocations: 81.48 kB / 1.288 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/1.2, allocations: 11.34 kB / 1.288 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005436/1.201, allocations: 67.91 kB / 1.288 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/1.201, allocations: 20.59 kB / 1.288 GB, free: 14.25 MB / 1.029 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.0001474/1.201, allocations: 211.8 kB / 1.288 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.98e-05/1.201, allocations: 57.72 kB / 1.288 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006028/1.202, allocations: 327 kB / 1.288 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/1.202, allocations: 5.938 kB / 1.288 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.202, allocations: 0 / 1.288 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/1.202, allocations: 3.578 kB / 1.288 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/1.204, allocations: 1.083 MB / 1.289 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/1.204, allocations: 7.469 kB / 1.289 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/1.204, allocations: 41.2 kB / 1.289 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/1.204, allocations: 5.438 kB / 1.289 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/1.204, allocations: 8.562 kB / 1.289 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.269e-06/1.204, allocations: 9.203 kB / 1.289 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.204, allocations: 4.25 kB / 1.289 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005791/1.204, allocations: 479.2 kB / 1.29 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/1.205, allocations: 160.9 kB / 1.29 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.815e-05/1.205, allocations: 9.109 kB / 1.29 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/1.205, allocations: 19.19 kB / 1.29 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/1.205, allocations: 29.16 kB / 1.29 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/1.205, allocations: 8.656 kB / 1.29 GB, free: 13.14 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006562/1.206, allocations: 480.8 kB / 1.29 GB, free: 13.04 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.52e-07/1.206, allocations: 0 / 1.29 GB, free: 13.04 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001036/1.207, allocations: 264.2 kB / 1.291 GB, free: 13.02 MB / 1.029 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.001331/1.208, allocations: 0.5086 MB / 1.291 GB, free: 12.83 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001128/1.209, allocations: 0.5032 MB / 1.292 GB, free: 12.83 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.209, allocations: 0.8125 kB / 1.292 GB, free: 12.83 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002127/1.21, allocations: 123.7 kB / 1.292 GB, free: 12.83 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/1.211, allocations: 285.5 kB / 1.292 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/1.213, allocations: 1.019 MB / 1.293 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/1.213, allocations: 0.8914 MB / 1.294 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006503/1.214, allocations: 171 kB / 1.294 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/1.214, allocations: 46.42 kB / 1.294 GB, free: 11.58 MB / 1.029 GB Notification: Performance of SimCode: time 1.042e-06/1.214, allocations: 0 / 1.294 GB, free: 11.58 MB / 1.029 GB Notification: Performance of Templates: time 0.02088/1.235, allocations: 10.61 MB / 1.305 GB, free: 10.91 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.makefile (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & ./Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches