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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00809/0.00809, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001808/0.001808, allocations: 195.4 kB / 16.67 MB, free: 5.52 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 / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.55/2.55, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 71.83 kB / 1.054 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8645/0.8657, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic): time 0.2066/1.072, allocations: 180.3 MB / 1.384 GB, free: 8.559 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.006865/1.079, allocations: 3.74 MB / 1.387 GB, free: 4.812 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008326/1.08, allocations: 27.81 kB / 1.388 GB, free: 4.785 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001226/1.081, allocations: 433.5 kB / 1.388 GB, free: 4.359 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00308/1.085, allocations: 1.247 MB / 1.389 GB, free: 3.109 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001933/1.086, allocations: 0.7549 MB / 1.39 GB, free: 2.359 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001732/1.088, allocations: 1.356 MB / 1.391 GB, free: 1 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006803/1.089, allocations: 485.3 kB / 1.392 GB, free: 0.5195 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002512/1.091, allocations: 0.993 MB / 1.393 GB, free: 15.53 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006502/1.092, allocations: 462.2 kB / 1.393 GB, free: 15.07 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 7.882e-05/1.092, allocations: 51.88 kB / 1.393 GB, free: 15.02 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/1.094, allocations: 1.197 MB / 1.394 GB, free: 13.82 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002524/1.095, allocations: 199.4 kB / 1.394 GB, free: 13.63 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0003399/1.095, allocations: 330.2 kB / 1.395 GB, free: 13.3 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00192/1.097, allocations: 1.198 MB / 1.396 GB, free: 12.11 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/1.097, allocations: 0 / 1.396 GB, free: 12.11 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.146e-06/1.097, allocations: 4 kB / 1.396 GB, free: 12.1 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.037e-06/1.097, allocations: 0 / 1.396 GB, free: 12.1 MB / 1.123 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.002108/1.099, allocations: 1.055 MB / 1.397 GB, free: 11 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/1.099, allocations: 8.031 kB / 1.397 GB, free: 10.99 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/1.1, allocations: 215 kB / 1.397 GB, free: 10.78 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008697/1.101, allocations: 0.5693 MB / 1.398 GB, free: 10.17 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/1.101, allocations: 29 kB / 1.398 GB, free: 10.14 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-05/1.101, allocations: 43.94 kB / 1.398 GB, free: 10.1 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/1.102, allocations: 0.5435 MB / 1.398 GB, free: 9.531 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/1.102, allocations: 0 / 1.398 GB, free: 9.531 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.93e-05/1.103, allocations: 16 kB / 1.398 GB, free: 9.516 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/1.103, allocations: 13 kB / 1.398 GB, free: 9.504 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/1.104, allocations: 0.4957 MB / 1.399 GB, free: 9.008 MB / 1.123 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.002959/1.107, allocations: 2.214 MB / 1.401 GB, free: 6.617 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006611/1.107, allocations: 359.8 kB / 1.401 GB, free: 6.238 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/1.108, allocations: 152.8 kB / 1.402 GB, free: 6.086 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001335/1.109, allocations: 0.8415 MB / 1.402 GB, free: 5.078 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003187/1.109, allocations: 200.9 kB / 1.403 GB, free: 4.863 MB / 1.123 GB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/1.109, allocations: 0 / 1.403 GB, free: 4.863 MB / 1.123 GB Notification: Performance of matching and sorting (n=28): time 0.0009914/1.11, allocations: 459 kB / 1.403 GB, free: 4.41 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/1.11, allocations: 85.11 kB / 1.403 GB, free: 4.309 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008252/1.111, allocations: 0.6485 MB / 1.404 GB, free: 3.652 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/1.111, allocations: 37.7 kB / 1.404 GB, free: 3.609 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/1.111, allocations: 311.9 kB / 1.404 GB, free: 3.301 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 8.065e-05/1.112, allocations: 102.6 kB / 1.404 GB, free: 3.199 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/1.112, allocations: 89.97 kB / 1.404 GB, free: 3.105 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001391/1.112, allocations: 370.8 kB / 1.405 GB, free: 2.734 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003615/1.112, allocations: 146.5 kB / 1.405 GB, free: 2.59 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004817/1.113, allocations: 302.2 kB / 1.405 GB, free: 2.23 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006443/1.113, allocations: 411.4 kB / 1.405 GB, free: 1.777 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.113, allocations: 0 / 1.405 GB, free: 1.777 MB / 1.123 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001005/1.114, allocations: 496.3 kB / 1.406 GB, free: 1.285 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/1.114, allocations: 8.469 kB / 1.406 GB, free: 1.277 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/1.114, allocations: 8 kB / 1.406 GB, free: 1.27 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/1.114, allocations: 4 kB / 1.406 GB, free: 1.266 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/1.115, allocations: 91.89 kB / 1.406 GB, free: 1.176 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/1.115, allocations: 11.92 kB / 1.406 GB, free: 1.164 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000597/1.116, allocations: 75.5 kB / 1.406 GB, free: 1.09 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/1.116, allocations: 23.98 kB / 1.406 GB, free: 1.066 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005225/1.116, allocations: 304.9 kB / 1.406 GB, free: 0.7656 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005341/1.117, allocations: 294.2 kB / 1.407 GB, free: 424 kB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006518/1.117, allocations: 411.1 kB / 1.407 GB, free: 15.96 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/1.117, allocations: 4 kB / 1.407 GB, free: 15.95 MB / 1.139 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0009708/1.118, allocations: 0.4886 MB / 1.408 GB, free: 15.46 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/1.118, allocations: 8.469 kB / 1.408 GB, free: 15.45 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.118, allocations: 4 kB / 1.408 GB, free: 15.45 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.705e-06/1.118, allocations: 15.94 kB / 1.408 GB, free: 15.43 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004028/1.119, allocations: 87.95 kB / 1.408 GB, free: 15.34 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/1.119, allocations: 12 kB / 1.408 GB, free: 15.33 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005696/1.119, allocations: 67.7 kB / 1.408 GB, free: 15.27 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/1.119, allocations: 27.97 kB / 1.408 GB, free: 15.24 MB / 1.139 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.000163/1.12, allocations: 212 kB / 1.408 GB, free: 15.02 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.074e-05/1.12, allocations: 59.25 kB / 1.408 GB, free: 14.96 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006169/1.12, allocations: 337.4 kB / 1.408 GB, free: 14.62 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/1.12, allocations: 4 kB / 1.408 GB, free: 14.62 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.12, allocations: 0 / 1.408 GB, free: 14.62 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/1.12, allocations: 7.984 kB / 1.408 GB, free: 14.61 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/1.122, allocations: 1.108 MB / 1.409 GB, free: 13.42 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/1.122, allocations: 4 kB / 1.409 GB, free: 13.42 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/1.122, allocations: 43.92 kB / 1.409 GB, free: 13.38 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/1.122, allocations: 8.297 kB / 1.409 GB, free: 13.37 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/1.122, allocations: 12 kB / 1.409 GB, free: 13.36 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/1.122, allocations: 0 / 1.409 GB, free: 13.36 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.122, allocations: 7.938 kB / 1.409 GB, free: 13.35 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008261/1.123, allocations: 0.6323 MB / 1.41 GB, free: 12.67 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/1.123, allocations: 156.4 kB / 1.41 GB, free: 12.5 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.197e-05/1.123, allocations: 8 kB / 1.41 GB, free: 12.49 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/1.124, allocations: 23.98 kB / 1.41 GB, free: 12.46 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.519e-05/1.124, allocations: 31.81 kB / 1.41 GB, free: 12.43 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/1.124, allocations: 8 kB / 1.41 GB, free: 12.43 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006479/1.124, allocations: 479 kB / 1.411 GB, free: 11.96 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.5e-07/1.124, allocations: 0 / 1.411 GB, free: 11.96 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009036/1.125, allocations: 267.7 kB / 1.411 GB, free: 11.7 MB / 1.139 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.001204/1.126, allocations: 0.5164 MB / 1.412 GB, free: 11.34 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001183/1.128, allocations: 0.5321 MB / 1.412 GB, free: 10.81 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.128, allocations: 4.188 kB / 1.412 GB, free: 10.81 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002294/1.128, allocations: 131.8 kB / 1.412 GB, free: 10.68 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/1.129, allocations: 275.8 kB / 1.412 GB, free: 10.42 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/1.131, allocations: 1.154 MB / 1.414 GB, free: 9.207 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/1.132, allocations: 0.89 MB / 1.414 GB, free: 8.289 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0005415/1.132, allocations: 168.9 kB / 1.415 GB, free: 8.125 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/1.132, allocations: 47.44 kB / 1.415 GB, free: 8.078 MB / 1.139 GB Notification: Performance of SimCode: time 7.11e-07/1.132, allocations: 0 / 1.415 GB, free: 8.078 MB / 1.139 GB Notification: Performance of Templates: time 0.01786/1.15, allocations: 10.72 MB / 1.425 GB, free: 13.51 MB / 1.154 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/jenkins/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