Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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,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") 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_9_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.001445/0.001445, allocations: 104.4 kB / 15.98 MB, free: 6.371 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.001774/0.001775, allocations: 192.9 kB / 16.91 MB, free: 6.199 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.333/1.333, allocations: 222.9 MB / 240.6 MB, free: 13.67 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.204/2.204, allocations: 390.2 MB / 0.665 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 65.66 kB / 0.8127 GB, free: 32.47 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2885, allocations: 140.4 MB / 0.9498 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.7394/1.028, allocations: 178 MB / 1.124 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006597/1.035, allocations: 3.715 MB / 1.127 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/1.036, allocations: 23.09 kB / 1.127 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00141/1.037, allocations: 391 kB / 1.128 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003934/1.041, allocations: 1.175 MB / 1.129 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002306/1.044, allocations: 0.6659 MB / 1.129 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002351/1.046, allocations: 1.358 MB / 1.131 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00085/1.047, allocations: 476.3 kB / 1.131 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003342/1.05, allocations: 0.9815 MB / 1.132 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008927/1.051, allocations: 478.9 kB / 1.133 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.433e-05/1.051, allocations: 43.7 kB / 1.133 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002614/1.054, allocations: 1.225 MB / 1.134 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002564/1.054, allocations: 202.3 kB / 1.134 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004574/1.055, allocations: 323.7 kB / 1.134 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001667/1.056, allocations: 0.86 MB / 1.135 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/1.056, allocations: 3.188 kB / 1.135 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.774e-06/1.056, allocations: 6.531 kB / 1.135 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.929e-06/1.056, allocations: 0 / 1.135 GB, free: 5.43 MB / 0.8575 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.00237/1.059, allocations: 1.04 MB / 1.136 GB, free: 20.78 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/1.059, allocations: 8.781 kB / 1.136 GB, free: 20.78 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/1.06, allocations: 225.5 kB / 1.136 GB, free: 20.73 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007757/1.061, allocations: 0.5354 MB / 1.137 GB, free: 20.44 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/1.061, allocations: 26.94 kB / 1.137 GB, free: 20.44 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.246e-05/1.061, allocations: 40.16 kB / 1.137 GB, free: 20.44 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/1.062, allocations: 0.5355 MB / 1.138 GB, free: 20.36 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/1.062, allocations: 1.781 kB / 1.138 GB, free: 20.36 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.684e-05/1.062, allocations: 14.5 kB / 1.138 GB, free: 20.36 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.329e-05/1.062, allocations: 21.31 kB / 1.138 GB, free: 20.36 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/1.063, allocations: 0.502 MB / 1.138 GB, free: 20.35 MB / 0.8731 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.003316/1.067, allocations: 2.219 MB / 1.14 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007453/1.067, allocations: 349 kB / 1.141 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/1.068, allocations: 138.3 kB / 1.141 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001384/1.069, allocations: 0.8383 MB / 1.141 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000339/1.069, allocations: 192.9 kB / 1.142 GB, free: 18.06 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 1.994e-06/1.069, allocations: 0 / 1.142 GB, free: 18.06 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26): time 0.001072/1.07, allocations: 440 kB / 1.142 GB, free: 17.99 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/1.071, allocations: 80.27 kB / 1.142 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009127/1.071, allocations: 0.6497 MB / 1.143 GB, free: 17.76 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.708e-05/1.072, allocations: 39.33 kB / 1.143 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/1.072, allocations: 326.3 kB / 1.143 GB, free: 17.58 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.909e-05/1.072, allocations: 93.33 kB / 1.143 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/1.072, allocations: 78.95 kB / 1.143 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001709/1.072, allocations: 371.8 kB / 1.144 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/1.073, allocations: 137.6 kB / 1.144 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/1.073, allocations: 278.9 kB / 1.144 GB, free: 17.01 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005708/1.074, allocations: 389 kB / 1.144 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.074, allocations: 2.312 kB / 1.144 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009787/1.075, allocations: 470 kB / 1.145 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/1.075, allocations: 14.97 kB / 1.145 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.075, allocations: 4.438 kB / 1.145 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/1.075, allocations: 5.688 kB / 1.145 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004155/1.075, allocations: 88.66 kB / 1.145 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/1.075, allocations: 15.12 kB / 1.145 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006799/1.076, allocations: 77.92 kB / 1.145 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.466e-05/1.076, allocations: 23.59 kB / 1.145 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005316/1.076, allocations: 292.5 kB / 1.145 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004258/1.077, allocations: 277.2 kB / 1.146 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006348/1.077, allocations: 389.8 kB / 1.146 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.156e-06/1.077, allocations: 2.312 kB / 1.146 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.000957/1.078, allocations: 474.7 kB / 1.146 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/1.078, allocations: 7.219 kB / 1.146 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.078, allocations: 3.438 kB / 1.146 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.765e-06/1.078, allocations: 6.969 kB / 1.146 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/1.079, allocations: 90.86 kB / 1.147 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/1.079, allocations: 8 kB / 1.147 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000614/1.079, allocations: 72.16 kB / 1.147 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/1.079, allocations: 25.34 kB / 1.147 GB, free: 16.25 MB / 0.8731 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.0001834/1.08, allocations: 201.6 kB / 1.147 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.621e-05/1.08, allocations: 65.08 kB / 1.147 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005859/1.08, allocations: 315.8 kB / 1.147 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/1.08, allocations: 3.25 kB / 1.147 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/1.08, allocations: 5.062 kB / 1.147 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/1.08, allocations: 7.047 kB / 1.147 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/1.082, allocations: 1.093 MB / 1.148 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.082, allocations: 2.812 kB / 1.148 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/1.082, allocations: 42.94 kB / 1.148 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/1.082, allocations: 2.906 kB / 1.148 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/1.082, allocations: 9.375 kB / 1.148 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/1.082, allocations: 5.844 kB / 1.148 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.082, allocations: 2.938 kB / 1.148 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005483/1.083, allocations: 483.6 kB / 1.149 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/1.083, allocations: 159.7 kB / 1.149 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.277e-05/1.083, allocations: 4.969 kB / 1.149 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003598/1.083, allocations: 33.59 kB / 1.149 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/1.083, allocations: 27.3 kB / 1.149 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/1.084, allocations: 9.094 kB / 1.149 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006592/1.084, allocations: 482.1 kB / 1.15 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.91e-07/1.084, allocations: 0 / 1.15 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001023/1.085, allocations: 265.6 kB / 1.15 GB, free: 14.8 MB / 0.8731 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.001256/1.086, allocations: 0.5121 MB / 1.15 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001202/1.088, allocations: 0.5014 MB / 1.151 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.088, allocations: 7.875 kB / 1.151 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/1.088, allocations: 128.9 kB / 1.151 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/1.089, allocations: 287.4 kB / 1.151 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/1.091, allocations: 1.264 MB / 1.152 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004827/1.092, allocations: 0.8925 MB / 1.153 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/1.092, allocations: 48.08 kB / 1.153 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of SimCode: time 4.91e-07/1.092, allocations: 0 / 1.153 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of Templates: time 0.01785/1.11, allocations: 9.77 MB / 1.163 GB, free: 11.4 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.makefile (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & ./Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches