Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_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_9_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_9_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.00157/0.001571, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001623/0.001623, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.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.273/2.273, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 63.84 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8968/0.8983, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic): time 0.2287/1.127, allocations: 180.3 MB / 1.265 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007888/1.135, allocations: 3.747 MB / 1.268 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008217/1.136, allocations: 23.88 kB / 1.268 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001224/1.137, allocations: 441.5 kB / 1.269 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003337/1.141, allocations: 1.311 MB / 1.27 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001991/1.143, allocations: 0.7426 MB / 1.271 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001991/1.145, allocations: 1.368 MB / 1.272 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007612/1.145, allocations: 473.3 kB / 1.273 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002703/1.148, allocations: 1.009 MB / 1.274 GB, free: 180 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007583/1.149, allocations: 470.2 kB / 1.274 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.682e-05/1.149, allocations: 44 kB / 1.274 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002255/1.151, allocations: 1.193 MB / 1.275 GB, free: 14.48 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001973/1.151, allocations: 203.3 kB / 1.275 GB, free: 14.28 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003386/1.152, allocations: 322.3 kB / 1.276 GB, free: 13.96 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00176/1.153, allocations: 1.209 MB / 1.277 GB, free: 12.75 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.153, allocations: 0 / 1.277 GB, free: 12.75 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.853e-06/1.153, allocations: 0 / 1.277 GB, free: 12.75 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.848e-06/1.153, allocations: 0 / 1.277 GB, free: 12.75 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.002097/1.156, allocations: 1.052 MB / 1.278 GB, free: 11.65 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/1.156, allocations: 12.03 kB / 1.278 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/1.157, allocations: 215 kB / 1.278 GB, free: 11.43 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008732/1.158, allocations: 0.5693 MB / 1.279 GB, free: 10.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.603e-05/1.158, allocations: 29 kB / 1.279 GB, free: 10.79 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.821e-05/1.158, allocations: 40 kB / 1.279 GB, free: 10.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/1.159, allocations: 0.5473 MB / 1.279 GB, free: 10.18 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/1.159, allocations: 0 / 1.279 GB, free: 10.18 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.641e-05/1.159, allocations: 27.86 kB / 1.279 GB, free: 10.15 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/1.159, allocations: 17 kB / 1.279 GB, free: 10.13 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/1.16, allocations: 0.4996 MB / 1.28 GB, free: 9.633 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.003053/1.163, allocations: 2.206 MB / 1.282 GB, free: 7.258 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000674/1.164, allocations: 363.8 kB / 1.282 GB, free: 6.875 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/1.164, allocations: 148.8 kB / 1.283 GB, free: 6.727 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001377/1.166, allocations: 0.8338 MB / 1.283 GB, free: 5.727 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003489/1.166, allocations: 205 kB / 1.284 GB, free: 5.508 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 2.024e-06/1.166, allocations: 7.938 kB / 1.284 GB, free: 5.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.001066/1.167, allocations: 454.2 kB / 1.284 GB, free: 5.051 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/1.167, allocations: 85.05 kB / 1.284 GB, free: 4.949 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000857/1.168, allocations: 0.6486 MB / 1.285 GB, free: 4.289 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/1.168, allocations: 29.7 kB / 1.285 GB, free: 4.254 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/1.168, allocations: 323.7 kB / 1.285 GB, free: 3.934 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.104e-05/1.168, allocations: 98.59 kB / 1.285 GB, free: 3.836 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/1.169, allocations: 82.03 kB / 1.285 GB, free: 3.75 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001685/1.169, allocations: 370.8 kB / 1.286 GB, free: 3.379 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/1.169, allocations: 154.5 kB / 1.286 GB, free: 3.223 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004852/1.17, allocations: 294.2 kB / 1.286 GB, free: 2.871 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006595/1.17, allocations: 415.9 kB / 1.286 GB, free: 2.41 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.17, allocations: 0 / 1.286 GB, free: 2.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00102/1.171, allocations: 499 kB / 1.287 GB, free: 1.918 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/1.171, allocations: 10.34 kB / 1.287 GB, free: 1.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.171, allocations: 4 kB / 1.287 GB, free: 1.906 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/1.171, allocations: 8 kB / 1.287 GB, free: 1.898 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004106/1.172, allocations: 91.83 kB / 1.287 GB, free: 1.809 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.241e-05/1.172, allocations: 8 kB / 1.287 GB, free: 1.801 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005568/1.172, allocations: 83.64 kB / 1.287 GB, free: 1.719 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.234e-05/1.172, allocations: 15.98 kB / 1.287 GB, free: 1.703 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005336/1.173, allocations: 312.8 kB / 1.287 GB, free: 1.391 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004815/1.174, allocations: 294.3 kB / 1.288 GB, free: 1.043 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006473/1.174, allocations: 412.8 kB / 1.288 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/1.174, allocations: 0 / 1.288 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.000995/1.175, allocations: 498.2 kB / 1.288 GB, free: 96 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/1.175, allocations: 8 kB / 1.289 GB, free: 88 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/1.175, allocations: 4.125 kB / 1.289 GB, free: 84 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.836e-06/1.175, allocations: 4 kB / 1.289 GB, free: 80 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004242/1.176, allocations: 103.8 kB / 1.289 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/1.176, allocations: 4 kB / 1.289 GB, free: 15.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005469/1.176, allocations: 63.86 kB / 1.289 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/1.176, allocations: 23.94 kB / 1.289 GB, free: 15.89 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 (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.0001804/1.176, allocations: 224.7 kB / 1.289 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.642e-05/1.177, allocations: 63.23 kB / 1.289 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006624/1.177, allocations: 332.3 kB / 1.289 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/1.177, allocations: 4 kB / 1.289 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/1.177, allocations: 0 / 1.289 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/1.177, allocations: 3.938 kB / 1.289 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/1.179, allocations: 1.111 MB / 1.29 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/1.179, allocations: 8.031 kB / 1.29 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/1.179, allocations: 43.92 kB / 1.29 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.657e-06/1.179, allocations: 7.938 kB / 1.29 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/1.179, allocations: 8 kB / 1.29 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/1.179, allocations: 7.984 kB / 1.29 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.179, allocations: 4 kB / 1.29 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000871/1.18, allocations: 0.6243 MB / 1.291 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/1.18, allocations: 160.4 kB / 1.291 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.965e-05/1.18, allocations: 8 kB / 1.291 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/1.181, allocations: 19.98 kB / 1.291 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.445e-05/1.181, allocations: 31.84 kB / 1.291 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/1.181, allocations: 8 kB / 1.291 GB, free: 13.06 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007182/1.182, allocations: 483.1 kB / 1.292 GB, free: 12.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.71e-07/1.182, allocations: 0 / 1.292 GB, free: 12.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009582/1.183, allocations: 271.6 kB / 1.292 GB, free: 12.33 MB / 1.029 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.001319/1.184, allocations: 0.5164 MB / 1.293 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001281/1.185, allocations: 0.5375 MB / 1.293 GB, free: 11.44 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.185, allocations: 0 / 1.293 GB, free: 11.44 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002525/1.185, allocations: 131.8 kB / 1.293 GB, free: 11.31 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/1.187, allocations: 280.9 kB / 1.293 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/1.189, allocations: 1.17 MB / 1.295 GB, free: 9.805 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005799/1.19, allocations: 0.9017 MB / 1.295 GB, free: 8.875 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/1.19, allocations: 47.42 kB / 1.295 GB, free: 8.828 MB / 1.029 GB Notification: Performance of SimCode: time 6.61e-07/1.19, allocations: 0 / 1.295 GB, free: 8.828 MB / 1.029 GB Notification: Performance of Templates: time 0.01723/1.207, allocations: 10.02 MB / 1.305 GB, free: 14.89 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.makefile (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & ./Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches