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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001562/0.001562, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001304/0.001304, allocations: 193.7 kB / 16.14 MB, free: 6.711 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.417/1.417, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.032/3.032, allocations: 472.7 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 62.62 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3069, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.1975/0.5044, allocations: 178.1 MB / 1.241 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006736/0.5112, allocations: 3.78 MB / 1.245 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000779/0.512, allocations: 23.81 kB / 1.245 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.5133, allocations: 374.3 kB / 1.246 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00296/0.5163, allocations: 1.167 MB / 1.247 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.5182, allocations: 0.6657 MB / 1.247 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00212/0.5204, allocations: 1.828 MB / 1.249 GB, free: 252 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6341/1.154, allocations: 412.8 kB / 1.25 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003307/1.158, allocations: 0.8938 MB / 1.25 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/1.159, allocations: 477.5 kB / 1.251 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002133/1.159, allocations: 24.72 kB / 1.251 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002661/1.162, allocations: 1.326 MB / 1.252 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003691/1.162, allocations: 186.6 kB / 1.252 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006603/1.163, allocations: 300.1 kB / 1.253 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002393/1.165, allocations: 1.225 MB / 1.254 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.165, allocations: 2.062 kB / 1.254 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.012e-06/1.165, allocations: 0 / 1.254 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.9e-05/1.166, allocations: 0 / 1.254 GB, free: 6.602 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.002825/1.168, allocations: 1.05 MB / 1.255 GB, free: 21.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/1.168, allocations: 9.875 kB / 1.255 GB, free: 21.96 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/1.17, allocations: 219.6 kB / 1.255 GB, free: 21.93 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008148/1.171, allocations: 0.5365 MB / 1.256 GB, free: 21.65 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/1.171, allocations: 32.89 kB / 1.256 GB, free: 21.65 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.031e-05/1.171, allocations: 38.12 kB / 1.256 GB, free: 21.65 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/1.172, allocations: 0.5418 MB / 1.256 GB, free: 21.58 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/1.172, allocations: 2.406 kB / 1.256 GB, free: 21.58 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.606e-05/1.172, allocations: 15.75 kB / 1.256 GB, free: 21.58 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/1.172, allocations: 16.03 kB / 1.256 GB, free: 21.58 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/1.173, allocations: 0.5082 MB / 1.257 GB, free: 21.57 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.003289/1.177, allocations: 2.216 MB / 1.259 GB, free: 20.34 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000741/1.177, allocations: 352.9 kB / 1.259 GB, free: 20.22 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/1.178, allocations: 142.5 kB / 1.259 GB, free: 20.21 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001397/1.179, allocations: 0.8394 MB / 1.26 GB, free: 19.36 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003294/1.179, allocations: 195.7 kB / 1.26 GB, free: 19.3 MB / 1.014 GB Notification: Performance of pre-optimization done (n=26): time 1.954e-06/1.179, allocations: 0 / 1.26 GB, free: 19.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=26): time 0.0009616/1.18, allocations: 437 kB / 1.261 GB, free: 19.23 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/1.18, allocations: 80.27 kB / 1.261 GB, free: 19.14 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008386/1.181, allocations: 0.6624 MB / 1.262 GB, free: 19 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/1.181, allocations: 29.58 kB / 1.262 GB, free: 18.97 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/1.181, allocations: 316.5 kB / 1.262 GB, free: 18.83 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.9e-05/1.182, allocations: 90.19 kB / 1.262 GB, free: 18.77 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/1.182, allocations: 82.5 kB / 1.262 GB, free: 18.75 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.182, allocations: 366.6 kB / 1.262 GB, free: 18.44 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/1.182, allocations: 141 kB / 1.262 GB, free: 18.43 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000399/1.183, allocations: 280.7 kB / 1.263 GB, free: 18.26 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005737/1.183, allocations: 386.2 kB / 1.263 GB, free: 18.11 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/1.183, allocations: 0 / 1.263 GB, free: 18.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009615/1.184, allocations: 478.9 kB / 1.264 GB, free: 18.04 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/1.184, allocations: 7.875 kB / 1.264 GB, free: 18.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.184, allocations: 2.625 kB / 1.264 GB, free: 18.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/1.184, allocations: 15.33 kB / 1.264 GB, free: 18.03 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/1.185, allocations: 83.91 kB / 1.264 GB, free: 18.03 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/1.185, allocations: 7.156 kB / 1.264 GB, free: 18.03 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006955/1.185, allocations: 90.5 kB / 1.264 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/1.185, allocations: 19.47 kB / 1.264 GB, free: 18 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005071/1.186, allocations: 290.1 kB / 1.264 GB, free: 17.92 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004216/1.186, allocations: 284.4 kB / 1.264 GB, free: 17.75 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005812/1.187, allocations: 381 kB / 1.265 GB, free: 17.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.786e-06/1.187, allocations: 2.375 kB / 1.265 GB, free: 17.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.0009322/1.188, allocations: 477.6 kB / 1.265 GB, free: 17.53 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/1.188, allocations: 11.88 kB / 1.265 GB, free: 17.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/1.188, allocations: 4.562 kB / 1.265 GB, free: 17.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.191e-06/1.188, allocations: 4.812 kB / 1.265 GB, free: 17.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/1.188, allocations: 96.7 kB / 1.265 GB, free: 17.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/1.188, allocations: 8.844 kB / 1.265 GB, free: 17.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006271/1.189, allocations: 62.45 kB / 1.265 GB, free: 17.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.024e-05/1.189, allocations: 21.78 kB / 1.265 GB, free: 17.51 MB / 1.014 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.0001651/1.189, allocations: 206.3 kB / 1.266 GB, free: 17.32 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.785e-05/1.189, allocations: 63.67 kB / 1.266 GB, free: 17.29 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006611/1.19, allocations: 327.9 kB / 1.266 GB, free: 17.23 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/1.19, allocations: 8.656 kB / 1.266 GB, free: 17.22 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/1.19, allocations: 3.562 kB / 1.266 GB, free: 17.22 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/1.19, allocations: 1.219 kB / 1.266 GB, free: 17.22 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/1.192, allocations: 1.083 MB / 1.267 GB, free: 16.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.192, allocations: 3 kB / 1.267 GB, free: 16.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/1.192, allocations: 38.91 kB / 1.267 GB, free: 16.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/1.192, allocations: 3.281 kB / 1.267 GB, free: 16.75 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/1.192, allocations: 8.688 kB / 1.267 GB, free: 16.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.136e-05/1.192, allocations: 10.77 kB / 1.267 GB, free: 16.75 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/1.192, allocations: 9.719 kB / 1.267 GB, free: 16.75 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008577/1.193, allocations: 470.3 kB / 1.268 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/1.193, allocations: 160.5 kB / 1.268 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.803e-05/1.193, allocations: 11.94 kB / 1.268 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004051/1.194, allocations: 30.92 kB / 1.268 GB, free: 16.37 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/1.194, allocations: 23.44 kB / 1.268 GB, free: 16.37 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/1.194, allocations: 8.344 kB / 1.268 GB, free: 16.37 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006775/1.194, allocations: 480.2 kB / 1.268 GB, free: 16.27 MB / 1.014 GB Notification: Performance of sort global known variables: time 2e-07/1.194, allocations: 0 / 1.268 GB, free: 16.27 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001034/1.195, allocations: 271.5 kB / 1.268 GB, free: 16.24 MB / 1.014 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.001343/1.197, allocations: 0.5121 MB / 1.269 GB, free: 16.07 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001388/1.198, allocations: 0.5068 MB / 1.269 GB, free: 16.05 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.198, allocations: 0.8125 kB / 1.269 GB, free: 16.05 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002415/1.198, allocations: 119.3 kB / 1.27 GB, free: 16.05 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/1.2, allocations: 272 kB / 1.27 GB, free: 16.03 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/1.202, allocations: 1.208 MB / 1.271 GB, free: 15.35 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005397/1.202, allocations: 0.8937 MB / 1.272 GB, free: 14.64 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007636/1.203, allocations: 164.7 kB / 1.272 GB, free: 14.61 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/1.203, allocations: 45.47 kB / 1.272 GB, free: 14.6 MB / 1.014 GB Notification: Performance of SimCode: time 1.212e-06/1.203, allocations: 5.094 kB / 1.272 GB, free: 14.6 MB / 1.014 GB Notification: Performance of Templates: time 0.02314/1.226, allocations: 10.03 MB / 1.282 GB, free: 13.99 MB / 1.014 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/jenkins/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