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.006956/0.006956, allocations: 99.44 kB / 15.73 MB, free: 6.062 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.001663/0.001663, allocations: 196.6 kB / 16.68 MB, free: 5.965 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.241/2.241, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.89 kB / 0.9508 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8539/0.8551, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic): time 0.2099/1.065, allocations: 180.3 MB / 1.264 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006764/1.072, allocations: 3.75 MB / 1.268 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006835/1.073, allocations: 27.81 kB / 1.268 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001191/1.074, allocations: 441.5 kB / 1.268 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003123/1.077, allocations: 1.303 MB / 1.269 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00202/1.079, allocations: 0.7542 MB / 1.27 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001855/1.081, allocations: 1.36 MB / 1.271 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006916/1.081, allocations: 477.3 kB / 1.272 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002542/1.084, allocations: 1.009 MB / 1.273 GB, free: 228 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006461/1.085, allocations: 462.2 kB / 1.273 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.853e-05/1.085, allocations: 44 kB / 1.273 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002169/1.087, allocations: 1.197 MB / 1.275 GB, free: 14.53 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002097/1.087, allocations: 203.3 kB / 1.275 GB, free: 14.33 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003785/1.088, allocations: 330.2 kB / 1.275 GB, free: 14 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002068/1.09, allocations: 1.199 MB / 1.276 GB, free: 12.8 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/1.09, allocations: 4 kB / 1.276 GB, free: 12.8 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.562e-06/1.09, allocations: 0 / 1.276 GB, free: 12.8 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.61e-05/1.09, allocations: 0 / 1.276 GB, free: 12.8 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.002582/1.092, allocations: 1.085 MB / 1.277 GB, free: 11.66 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/1.092, allocations: 8.031 kB / 1.277 GB, free: 11.65 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/1.094, allocations: 219.3 kB / 1.278 GB, free: 11.44 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009318/1.095, allocations: 0.5699 MB / 1.278 GB, free: 10.83 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/1.095, allocations: 32.94 kB / 1.278 GB, free: 10.79 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.364e-05/1.095, allocations: 40 kB / 1.278 GB, free: 10.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/1.096, allocations: 0.5474 MB / 1.279 GB, free: 10.18 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/1.096, allocations: 0 / 1.279 GB, free: 10.18 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.145e-05/1.096, allocations: 19.98 kB / 1.279 GB, free: 10.16 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.161e-05/1.096, allocations: 17 kB / 1.279 GB, free: 10.15 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/1.097, allocations: 0.4957 MB / 1.279 GB, free: 9.652 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.003277/1.101, allocations: 2.219 MB / 1.281 GB, free: 7.266 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007238/1.101, allocations: 365.9 kB / 1.282 GB, free: 6.883 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/1.102, allocations: 148.7 kB / 1.282 GB, free: 6.734 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001407/1.103, allocations: 0.8416 MB / 1.283 GB, free: 5.727 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003456/1.103, allocations: 204.9 kB / 1.283 GB, free: 5.508 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 2.104e-06/1.103, allocations: 4 kB / 1.283 GB, free: 5.504 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.0011/1.104, allocations: 458.3 kB / 1.283 GB, free: 5.051 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/1.104, allocations: 85.09 kB / 1.283 GB, free: 4.949 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008957/1.105, allocations: 0.6525 MB / 1.284 GB, free: 4.285 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/1.105, allocations: 33.7 kB / 1.284 GB, free: 4.246 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/1.106, allocations: 320.2 kB / 1.284 GB, free: 3.93 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.116e-05/1.106, allocations: 103.1 kB / 1.284 GB, free: 3.828 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/1.106, allocations: 90.06 kB / 1.285 GB, free: 3.734 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001551/1.106, allocations: 366.8 kB / 1.285 GB, free: 3.367 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004024/1.107, allocations: 150.5 kB / 1.285 GB, free: 3.215 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004932/1.107, allocations: 298.9 kB / 1.285 GB, free: 2.863 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006947/1.108, allocations: 400.7 kB / 1.286 GB, free: 2.418 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/1.108, allocations: 0 / 1.286 GB, free: 2.418 MB / 1.014 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001109/1.109, allocations: 0.4953 MB / 1.286 GB, free: 1.918 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/1.109, allocations: 11.94 kB / 1.286 GB, free: 1.906 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/1.109, allocations: 8 kB / 1.286 GB, free: 1.898 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/1.109, allocations: 4.281 kB / 1.286 GB, free: 1.895 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/1.109, allocations: 91.89 kB / 1.286 GB, free: 1.805 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/1.109, allocations: 11.92 kB / 1.286 GB, free: 1.793 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006366/1.11, allocations: 87.73 kB / 1.286 GB, free: 1.707 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-05/1.11, allocations: 23.98 kB / 1.286 GB, free: 1.684 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005626/1.111, allocations: 304.8 kB / 1.287 GB, free: 1.379 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004826/1.111, allocations: 290.3 kB / 1.287 GB, free: 1.031 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006897/1.112, allocations: 420.8 kB / 1.287 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.995e-06/1.112, allocations: 0 / 1.287 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001094/1.113, allocations: 499 kB / 1.288 GB, free: 76 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/1.113, allocations: 8 kB / 1.288 GB, free: 68 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.113, allocations: 4 kB / 1.288 GB, free: 64 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/1.113, allocations: 8 kB / 1.288 GB, free: 56 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004451/1.114, allocations: 91.83 kB / 1.288 GB, free: 15.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/1.114, allocations: 8 kB / 1.288 GB, free: 15.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006119/1.114, allocations: 67.95 kB / 1.288 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.076e-05/1.114, allocations: 19.98 kB / 1.288 GB, free: 15.87 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.0001813/1.114, allocations: 216.5 kB / 1.288 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.99e-05/1.114, allocations: 63.58 kB / 1.288 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006313/1.115, allocations: 338.1 kB / 1.289 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/1.115, allocations: 0 / 1.289 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.115, allocations: 7.938 kB / 1.289 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/1.115, allocations: 7.922 kB / 1.289 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/1.117, allocations: 1.115 MB / 1.29 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.117, allocations: 8.031 kB / 1.29 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/1.117, allocations: 43.91 kB / 1.29 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/1.117, allocations: 4 kB / 1.29 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/1.117, allocations: 12 kB / 1.29 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.166e-05/1.117, allocations: 4 kB / 1.29 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.117, allocations: 3.938 kB / 1.29 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008583/1.118, allocations: 0.6287 MB / 1.29 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002217/1.118, allocations: 160.7 kB / 1.291 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.446e-05/1.118, allocations: 15.94 kB / 1.291 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/1.119, allocations: 19.98 kB / 1.291 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.759e-05/1.119, allocations: 27.98 kB / 1.291 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/1.119, allocations: 16.06 kB / 1.291 GB, free: 13.03 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006837/1.119, allocations: 475 kB / 1.291 GB, free: 12.57 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.31e-07/1.12, allocations: 0 / 1.291 GB, free: 12.57 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009445/1.12, allocations: 271.5 kB / 1.291 GB, free: 12.3 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.001328/1.122, allocations: 0.5119 MB / 1.292 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001281/1.123, allocations: 0.5412 MB / 1.292 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.123, allocations: 0 / 1.292 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002381/1.123, allocations: 138.4 kB / 1.293 GB, free: 11.28 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/1.125, allocations: 277.2 kB / 1.293 GB, free: 11.01 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/1.127, allocations: 1.156 MB / 1.294 GB, free: 9.789 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004988/1.127, allocations: 0.8978 MB / 1.295 GB, free: 8.863 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005809/1.128, allocations: 168.9 kB / 1.295 GB, free: 8.699 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/1.128, allocations: 43.44 kB / 1.295 GB, free: 8.656 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/1.128, allocations: 0 / 1.295 GB, free: 8.656 MB / 1.029 GB Notification: Performance of Templates: time 0.01933/1.147, allocations: 10.71 MB / 1.305 GB, free: 14.1 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/jenkins/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