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.001022/0.001023, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007975/0.007976, allocations: 169.7 kB / 16.27 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.351/1.351, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.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.382/2.382, allocations: 390.9 MB / 0.6663 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004595/0.0004596, allocations: 12 kB / 0.8159 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7029/0.7034, allocations: 142.4 MB / 0.955 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.1984/0.9018, allocations: 175.8 MB / 1.127 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007021/0.9088, allocations: 3.74 MB / 1.13 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000721/0.9096, allocations: 23.81 kB / 1.13 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.9108, allocations: 366.3 kB / 1.131 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003091/0.9139, allocations: 1.179 MB / 1.132 GB, free: 9.598 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001858/0.9158, allocations: 0.6561 MB / 1.133 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002061/0.9178, allocations: 1.835 MB / 1.134 GB, free: 7.102 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006177/0.9185, allocations: 401.6 kB / 1.135 GB, free: 6.707 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002427/0.9209, allocations: 0.878 MB / 1.136 GB, free: 5.832 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006486/0.9216, allocations: 470 kB / 1.136 GB, free: 5.371 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.563e-05/0.9216, allocations: 20 kB / 1.136 GB, free: 5.352 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002288/0.9239, allocations: 1.317 MB / 1.137 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.9241, allocations: 179.3 kB / 1.137 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003275/0.9245, allocations: 324 kB / 1.138 GB, free: 3.531 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.926, allocations: 1.207 MB / 1.139 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.926, allocations: 0 / 1.139 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.473e-06/0.926, allocations: 0 / 1.139 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.926, allocations: 0 / 1.139 GB, free: 2.32 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.001961/0.928, allocations: 0.9311 MB / 1.14 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.928, allocations: 8.031 kB / 1.14 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/0.9293, allocations: 234.9 kB / 1.14 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007814/0.9301, allocations: 0.5381 MB / 1.141 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.063e-05/0.9302, allocations: 29 kB / 1.141 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.471e-05/0.9303, allocations: 36 kB / 1.141 GB, free: 468 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.9314, allocations: 0.5466 MB / 1.141 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.9314, allocations: 0 / 1.141 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.123e-05/0.9315, allocations: 23.94 kB / 1.141 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.957e-05/0.9315, allocations: 17 kB / 1.141 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.9327, allocations: 0.5153 MB / 1.142 GB, free: 15.34 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.003175/0.9359, allocations: 2.227 MB / 1.144 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007599/0.9366, allocations: 343.8 kB / 1.144 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.9369, allocations: 144.7 kB / 1.144 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001372/0.9383, allocations: 0.8611 MB / 1.145 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003516/0.9386, allocations: 202.8 kB / 1.145 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=26): time 1.954e-06/0.9386, allocations: 0 / 1.145 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26): time 0.001019/0.9397, allocations: 434.5 kB / 1.146 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.9397, allocations: 85.09 kB / 1.146 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008991/0.9406, allocations: 0.6525 MB / 1.147 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.9407, allocations: 29.7 kB / 1.147 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/0.9409, allocations: 319.7 kB / 1.147 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.092e-05/0.941, allocations: 90.83 kB / 1.147 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.905e-05/0.9411, allocations: 33.7 kB / 1.147 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.9413, allocations: 374.7 kB / 1.147 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003511/0.9417, allocations: 131.9 kB / 1.147 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004548/0.9421, allocations: 277 kB / 1.148 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006468/0.9428, allocations: 394.7 kB / 1.148 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.9428, allocations: 4 kB / 1.148 GB, free: 8.219 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009612/0.9438, allocations: 472.7 kB / 1.149 GB, free: 7.75 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.9439, allocations: 211.7 kB / 1.149 GB, free: 7.484 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.9439, allocations: 4 kB / 1.149 GB, free: 7.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.9439, allocations: 4 kB / 1.149 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003932/0.9443, allocations: 91.83 kB / 1.149 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.9443, allocations: 4 kB / 1.149 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006211/0.945, allocations: 87.53 kB / 1.149 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.1e-05/0.945, allocations: 20 kB / 1.149 GB, free: 7.277 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.945, allocations: 4 kB / 1.149 GB, free: 7.273 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008492/0.9459, allocations: 388.6 kB / 1.149 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.9459, allocations: 4 kB / 1.149 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.9459, allocations: 8.438 kB / 1.149 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/0.9463, allocations: 87.89 kB / 1.149 GB, free: 6.797 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.9463, allocations: 11.94 kB / 1.149 GB, free: 6.785 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/0.9468, allocations: 67.55 kB / 1.15 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.9469, allocations: 20 kB / 1.15 GB, free: 6.699 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.0002629/0.9471, allocations: 288.9 kB / 1.15 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.984e-05/0.9472, allocations: 59.25 kB / 1.15 GB, free: 6.348 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005835/0.9478, allocations: 330.1 kB / 1.15 GB, free: 6.012 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.9478, allocations: 0 / 1.15 GB, free: 6.012 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.9478, allocations: 4 kB / 1.15 GB, free: 6.008 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.9478, allocations: 3.984 kB / 1.15 GB, free: 6.004 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.9493, allocations: 1.083 MB / 1.151 GB, free: 4.832 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.9493, allocations: 4 kB / 1.151 GB, free: 4.828 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.9495, allocations: 39.98 kB / 1.151 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.9495, allocations: 4 kB / 1.151 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.9495, allocations: 12.3 kB / 1.151 GB, free: 4.773 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.9495, allocations: 8 kB / 1.151 GB, free: 4.766 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.9495, allocations: 7.938 kB / 1.151 GB, free: 4.758 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005705/0.9501, allocations: 480.9 kB / 1.152 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.9503, allocations: 164.2 kB / 1.152 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-05/0.9504, allocations: 12 kB / 1.152 GB, free: 4.051 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/0.9508, allocations: 35.88 kB / 1.152 GB, free: 4.016 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.9508, allocations: 19.92 kB / 1.152 GB, free: 3.996 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.9509, allocations: 8 kB / 1.152 GB, free: 3.988 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006716/0.9516, allocations: 487 kB / 1.152 GB, free: 3.516 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9516, allocations: 0 / 1.152 GB, free: 3.516 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008683/0.9524, allocations: 267.6 kB / 1.153 GB, free: 3.254 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.001256/0.9537, allocations: 0.5031 MB / 1.153 GB, free: 2.91 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001156/0.9549, allocations: 0.493 MB / 1.154 GB, free: 2.418 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9549, allocations: 0 / 1.154 GB, free: 2.418 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.9551, allocations: 131.7 kB / 1.154 GB, free: 2.289 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.9567, allocations: 269.1 kB / 1.154 GB, free: 2.035 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.9585, allocations: 1.238 MB / 1.155 GB, free: 0.7383 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.9589, allocations: 0.8902 MB / 1.156 GB, free: 15.82 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0006501/0.9596, allocations: 168.8 kB / 1.156 GB, free: 15.66 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.9597, allocations: 47.44 kB / 1.156 GB, free: 15.61 MB / 0.92 GB Notification: Performance of SimCode: time 2.5e-07/0.9597, allocations: 0 / 1.156 GB, free: 15.61 MB / 0.92 GB Notification: Performance of Templates: time 0.0178/0.9775, allocations: 9.98 MB / 1.166 GB, free: 5.77 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/jenkins/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