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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001033/0.001033, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 177.5 kB / 16.92 MB, free: 6.652 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.571/1.571, allocations: 223.3 MB / 241 MB, free: 5.219 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.452/2.452, allocations: 390.9 MB / 0.667 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.000343, allocations: 8 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7194/0.7197, allocations: 142.4 MB / 0.9557 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.2106/0.9304, allocations: 175.8 MB / 1.127 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007415/0.9378, allocations: 3.736 MB / 1.131 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009725/0.9389, allocations: 27.81 kB / 1.131 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.9403, allocations: 370.3 kB / 1.131 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003877/0.9442, allocations: 1.171 MB / 1.133 GB, free: 9.719 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002323/0.9465, allocations: 0.6641 MB / 1.133 GB, free: 9.059 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002886/0.9494, allocations: 1.832 MB / 1.135 GB, free: 7.219 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009668/0.9504, allocations: 413.6 kB / 1.135 GB, free: 6.812 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003167/0.9536, allocations: 0.8803 MB / 1.136 GB, free: 5.934 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009376/0.9545, allocations: 466.1 kB / 1.137 GB, free: 5.477 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.9547, allocations: 20 kB / 1.137 GB, free: 5.457 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002692/0.9574, allocations: 1.313 MB / 1.138 GB, free: 4.141 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003205/0.9577, allocations: 179.3 kB / 1.138 GB, free: 3.965 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006289/0.9584, allocations: 324 kB / 1.138 GB, free: 3.641 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.96, allocations: 0.8457 MB / 1.139 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.96, allocations: 4 kB / 1.139 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.114e-06/0.96, allocations: 0 / 1.139 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.106e-05/0.9601, allocations: 0 / 1.139 GB, free: 2.789 MB / 0.8887 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.002664/0.9627, allocations: 0.9195 MB / 1.14 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.9628, allocations: 8.031 kB / 1.14 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001504/0.9643, allocations: 238.9 kB / 1.14 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.9654, allocations: 0.5304 MB / 1.141 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.901e-05/0.9654, allocations: 32.98 kB / 1.141 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.9656, allocations: 40 kB / 1.141 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.9667, allocations: 0.5387 MB / 1.142 GB, free: 384 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.9668, allocations: 3.938 kB / 1.142 GB, free: 380 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.762e-05/0.9668, allocations: 16 kB / 1.142 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.139e-05/0.9669, allocations: 17 kB / 1.142 GB, free: 348 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.9682, allocations: 0.523 MB / 1.142 GB, free: 15.82 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.003744/0.9719, allocations: 2.219 MB / 1.144 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008117/0.9728, allocations: 344.8 kB / 1.145 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.973, allocations: 144.8 kB / 1.145 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001519/0.9746, allocations: 0.865 MB / 1.146 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004102/0.975, allocations: 194.9 kB / 1.146 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=26): time 3.357e-06/0.975, allocations: 0 / 1.146 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26): time 0.001214/0.9762, allocations: 446.6 kB / 1.146 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.9763, allocations: 81.11 kB / 1.146 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.9774, allocations: 0.6485 MB / 1.147 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.9774, allocations: 33.7 kB / 1.147 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.9777, allocations: 327.7 kB / 1.147 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.9778, allocations: 86.83 kB / 1.147 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-05/0.9779, allocations: 33.7 kB / 1.147 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.9781, allocations: 370.7 kB / 1.148 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003776/0.9785, allocations: 139.8 kB / 1.148 GB, free: 9.469 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004913/0.979, allocations: 273.1 kB / 1.148 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007324/0.9797, allocations: 388.5 kB / 1.148 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.9798, allocations: 0 / 1.148 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001197/0.981, allocations: 475.6 kB / 1.149 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001493/0.9811, allocations: 207.9 kB / 1.149 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.9811, allocations: 4 kB / 1.149 GB, free: 7.973 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.9812, allocations: 12 kB / 1.149 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/0.9816, allocations: 87.88 kB / 1.149 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/0.9816, allocations: 4 kB / 1.149 GB, free: 7.871 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007172/0.9824, allocations: 83.48 kB / 1.149 GB, free: 7.789 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/0.9824, allocations: 20 kB / 1.149 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/0.9824, allocations: 4 kB / 1.149 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009349/0.9834, allocations: 391.7 kB / 1.15 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.9834, allocations: 4 kB / 1.15 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.689e-06/0.9834, allocations: 4 kB / 1.15 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003963/0.9838, allocations: 91.81 kB / 1.15 GB, free: 7.285 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.9838, allocations: 12.16 kB / 1.15 GB, free: 7.273 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005725/0.9844, allocations: 71.62 kB / 1.15 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.612e-05/0.9845, allocations: 23.98 kB / 1.15 GB, free: 7.18 MB / 0.9044 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.0003617/0.9848, allocations: 289.4 kB / 1.15 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.985, allocations: 59.25 kB / 1.15 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006983/0.9857, allocations: 317.2 kB / 1.151 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.9857, allocations: 4 kB / 1.151 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.9857, allocations: 0 / 1.151 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.9857, allocations: 4 kB / 1.151 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.9875, allocations: 1.092 MB / 1.152 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.9875, allocations: 4 kB / 1.152 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.9877, allocations: 39.98 kB / 1.152 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.508e-05/0.9877, allocations: 4 kB / 1.152 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.9877, allocations: 7.938 kB / 1.152 GB, free: 5.262 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.9877, allocations: 4 kB / 1.152 GB, free: 5.258 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.9877, allocations: 0 / 1.152 GB, free: 5.258 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006656/0.9884, allocations: 489.2 kB / 1.152 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002989/0.9887, allocations: 176.2 kB / 1.152 GB, free: 4.543 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.34e-05/0.9888, allocations: 7.938 kB / 1.152 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/0.9892, allocations: 31.89 kB / 1.152 GB, free: 4.504 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.588e-05/0.9893, allocations: 31.84 kB / 1.152 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.9894, allocations: 8 kB / 1.152 GB, free: 4.465 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007793/0.9902, allocations: 479 kB / 1.153 GB, free: 4 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2e-07/0.9902, allocations: 0 / 1.153 GB, free: 4 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001127/0.9913, allocations: 271.6 kB / 1.153 GB, free: 3.734 MB / 0.9044 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.001499/0.9928, allocations: 0.5048 MB / 1.154 GB, free: 3.391 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.9941, allocations: 499.9 kB / 1.154 GB, free: 2.906 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.9942, allocations: 3.938 kB / 1.154 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.9944, allocations: 123.9 kB / 1.154 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/0.9961, allocations: 261.9 kB / 1.154 GB, free: 2.531 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.9986, allocations: 1.283 MB / 1.156 GB, free: 1.184 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/0.9991, allocations: 0.8902 MB / 1.157 GB, free: 272 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.9993, allocations: 55.36 kB / 1.157 GB, free: 216 kB / 0.9044 GB Notification: Performance of SimCode: time 8.41e-07/0.9993, allocations: 0 / 1.157 GB, free: 216 kB / 0.9044 GB Notification: Performance of Templates: time 0.01909/1.018, allocations: 9.69 MB / 1.166 GB, free: 6.602 MB / 0.92 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