Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001369/0.001369, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001351/0.001351, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.371/1.371, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 437 MB / 0.711 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 69.83 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3048, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic): time 0.7834/1.088, allocations: 180.3 MB / 1.194 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007886/1.096, allocations: 3.742 MB / 1.198 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/1.098, allocations: 27.5 kB / 1.198 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001526/1.099, allocations: 436.4 kB / 1.198 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003843/1.103, allocations: 1.248 MB / 1.199 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002426/1.105, allocations: 0.7381 MB / 1.2 GB, free: 8.598 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002399/1.108, allocations: 1.352 MB / 1.201 GB, free: 7.82 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009583/1.109, allocations: 488 kB / 1.202 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003012/1.112, allocations: 0.9733 MB / 1.203 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009415/1.113, allocations: 460.9 kB / 1.203 GB, free: 6.676 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000159/1.113, allocations: 45.34 kB / 1.203 GB, free: 6.676 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/1.116, allocations: 1.186 MB / 1.204 GB, free: 6.016 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003546/1.116, allocations: 198.3 kB / 1.205 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007708/1.117, allocations: 331.8 kB / 1.205 GB, free: 5.668 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002702/1.12, allocations: 1.19 MB / 1.206 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.12, allocations: 0 / 1.206 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.763e-06/1.12, allocations: 0 / 1.206 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.075e-05/1.12, allocations: 0 / 1.206 GB, free: 4.922 MB / 0.9044 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.002796/1.122, allocations: 1.054 MB / 1.207 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/1.122, allocations: 11.11 kB / 1.207 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/1.124, allocations: 221.6 kB / 1.207 GB, free: 3.957 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/1.125, allocations: 0.5329 MB / 1.208 GB, free: 3.5 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/1.125, allocations: 33.94 kB / 1.208 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.126e-05/1.125, allocations: 43.64 kB / 1.208 GB, free: 3.465 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/1.126, allocations: 0.5391 MB / 1.209 GB, free: 3.125 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/1.126, allocations: 0 / 1.209 GB, free: 3.125 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.794e-05/1.126, allocations: 14.75 kB / 1.209 GB, free: 3.113 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-05/1.126, allocations: 19.45 kB / 1.209 GB, free: 3.109 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/1.128, allocations: 0.5044 MB / 1.209 GB, free: 2.859 MB / 0.9044 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.003511/1.131, allocations: 2.224 MB / 1.211 GB, free: 0.9336 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006958/1.132, allocations: 359.2 kB / 1.212 GB, free: 0.6953 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/1.132, allocations: 143.8 kB / 1.212 GB, free: 0.6211 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001469/1.134, allocations: 0.8416 MB / 1.213 GB, free: 15.71 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000366/1.134, allocations: 213.7 kB / 1.213 GB, free: 15.55 MB / 0.92 GB Notification: Performance of pre-optimization done (n=28): time 2.534e-06/1.134, allocations: 0 / 1.213 GB, free: 15.55 MB / 0.92 GB Notification: Performance of matching and sorting (n=28): time 0.001115/1.135, allocations: 464.3 kB / 1.213 GB, free: 15.32 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/1.135, allocations: 79.95 kB / 1.213 GB, free: 15.22 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009124/1.136, allocations: 0.6541 MB / 1.214 GB, free: 14.86 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.479e-05/1.136, allocations: 31.98 kB / 1.214 GB, free: 14.82 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002693/1.136, allocations: 318.8 kB / 1.214 GB, free: 14.54 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.203e-05/1.137, allocations: 103.1 kB / 1.214 GB, free: 14.45 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/1.137, allocations: 81.31 kB / 1.214 GB, free: 14.4 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001755/1.137, allocations: 377.5 kB / 1.215 GB, free: 14.04 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003837/1.137, allocations: 143.7 kB / 1.215 GB, free: 13.96 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005008/1.138, allocations: 302.9 kB / 1.215 GB, free: 13.7 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006826/1.138, allocations: 398.4 kB / 1.216 GB, free: 13.41 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.932e-06/1.139, allocations: 3.938 kB / 1.216 GB, free: 13.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0011/1.14, allocations: 499.3 kB / 1.216 GB, free: 13.15 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/1.14, allocations: 7.812 kB / 1.216 GB, free: 13.15 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/1.14, allocations: 6.25 kB / 1.216 GB, free: 13.15 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/1.14, allocations: 7.969 kB / 1.216 GB, free: 13.15 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004445/1.14, allocations: 98.22 kB / 1.216 GB, free: 13.12 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/1.14, allocations: 8.875 kB / 1.216 GB, free: 13.12 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006636/1.141, allocations: 79.39 kB / 1.216 GB, free: 13.08 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/1.141, allocations: 21.75 kB / 1.216 GB, free: 13.07 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005435/1.141, allocations: 299.5 kB / 1.217 GB, free: 12.88 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004782/1.142, allocations: 301.2 kB / 1.217 GB, free: 12.62 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006523/1.143, allocations: 408 kB / 1.217 GB, free: 12.32 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.667e-06/1.143, allocations: 0 / 1.217 GB, free: 12.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001065/1.144, allocations: 0.4899 MB / 1.218 GB, free: 12.07 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/1.144, allocations: 7.75 kB / 1.218 GB, free: 12.07 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/1.144, allocations: 9.172 kB / 1.218 GB, free: 12.07 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/1.144, allocations: 4.875 kB / 1.218 GB, free: 12.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/1.144, allocations: 96.11 kB / 1.218 GB, free: 12.04 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/1.144, allocations: 16.3 kB / 1.218 GB, free: 12.03 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006486/1.145, allocations: 68.92 kB / 1.218 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/1.145, allocations: 19.12 kB / 1.218 GB, free: 11.99 MB / 0.92 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.0001866/1.145, allocations: 209.6 kB / 1.218 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/1.145, allocations: 59.53 kB / 1.218 GB, free: 11.74 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006735/1.146, allocations: 346.3 kB / 1.218 GB, free: 11.39 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/1.146, allocations: 0 / 1.218 GB, free: 11.39 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/1.146, allocations: 8 kB / 1.218 GB, free: 11.38 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/1.146, allocations: 0 / 1.218 GB, free: 11.38 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/1.148, allocations: 1.109 MB / 1.22 GB, free: 10.18 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/1.148, allocations: 7.938 kB / 1.22 GB, free: 10.18 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/1.148, allocations: 39.92 kB / 1.22 GB, free: 10.14 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/1.148, allocations: 4 kB / 1.22 GB, free: 10.13 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/1.148, allocations: 15.94 kB / 1.22 GB, free: 10.12 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/1.148, allocations: 4 kB / 1.22 GB, free: 10.11 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.148, allocations: 3.938 kB / 1.22 GB, free: 10.11 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009355/1.149, allocations: 0.6249 MB / 1.22 GB, free: 9.438 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/1.149, allocations: 164.3 kB / 1.22 GB, free: 9.258 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/1.149, allocations: 18.67 kB / 1.22 GB, free: 9.242 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/1.15, allocations: 15.98 kB / 1.22 GB, free: 9.227 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/1.15, allocations: 23.98 kB / 1.22 GB, free: 9.203 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/1.15, allocations: 19.98 kB / 1.22 GB, free: 9.184 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007169/1.151, allocations: 471 kB / 1.221 GB, free: 8.727 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.41e-07/1.151, allocations: 4 kB / 1.221 GB, free: 8.723 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001048/1.152, allocations: 275.6 kB / 1.221 GB, free: 8.453 MB / 0.92 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.001368/1.153, allocations: 0.5006 MB / 1.222 GB, free: 8.113 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001401/1.154, allocations: 0.5354 MB / 1.222 GB, free: 7.578 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.154, allocations: 0 / 1.222 GB, free: 7.578 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002424/1.155, allocations: 153 kB / 1.222 GB, free: 7.43 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/1.156, allocations: 273 kB / 1.223 GB, free: 7.168 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/1.158, allocations: 1.19 MB / 1.224 GB, free: 5.91 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/1.159, allocations: 0.9017 MB / 1.225 GB, free: 4.98 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/1.159, allocations: 47.44 kB / 1.225 GB, free: 4.934 MB / 0.92 GB Notification: Performance of SimCode: time 7.22e-07/1.159, allocations: 0 / 1.225 GB, free: 4.934 MB / 0.92 GB Notification: Performance of Templates: time 0.01579/1.175, allocations: 9.973 MB / 1.234 GB, free: 11.05 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.makefile (rm -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & ./Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches