Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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,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") 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_10_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.001377/0.001377, allocations: 100.1 kB / 15.88 MB, free: 12 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.001971/0.001972, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.393/1.393, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.58/2.58, allocations: 437 MB / 0.7106 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.91 kB / 0.8692 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7124/0.7137, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.1973/0.911, allocations: 178.1 MB / 1.191 GB, free: 32 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006745/0.9178, allocations: 3.789 MB / 1.195 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009713/0.9188, allocations: 27.81 kB / 1.195 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.9202, allocations: 374.2 kB / 1.195 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003375/0.9236, allocations: 1.175 MB / 1.196 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002103/0.9257, allocations: 0.6603 MB / 1.197 GB, free: 10 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002269/0.928, allocations: 1.832 MB / 1.199 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008445/0.9288, allocations: 414 kB / 1.199 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003009/0.9319, allocations: 0.8954 MB / 1.2 GB, free: 6.859 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009228/0.9328, allocations: 478.1 kB / 1.201 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.933, allocations: 24 kB / 1.201 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002555/0.9355, allocations: 1.317 MB / 1.202 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003155/0.9359, allocations: 183.4 kB / 1.202 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006058/0.9365, allocations: 306.3 kB / 1.202 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.938, allocations: 0.8615 MB / 1.203 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.938, allocations: 0 / 1.203 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9381, allocations: 0 / 1.203 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.958e-05/0.9381, allocations: 0 / 1.203 GB, free: 3.703 MB / 0.9512 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.002672/0.9408, allocations: 1.048 MB / 1.204 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.9408, allocations: 12.03 kB / 1.204 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.9422, allocations: 218.9 kB / 1.204 GB, free: 2.379 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000946/0.9432, allocations: 0.5381 MB / 1.205 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/0.9432, allocations: 32.98 kB / 1.205 GB, free: 1.766 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.811e-05/0.9433, allocations: 36 kB / 1.205 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.9445, allocations: 0.5388 MB / 1.206 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.9445, allocations: 0 / 1.206 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.091e-05/0.9445, allocations: 16 kB / 1.206 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/0.9446, allocations: 16.98 kB / 1.206 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.9458, allocations: 0.4996 MB / 1.206 GB, free: 0.6406 MB / 0.9512 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.003504/0.9493, allocations: 2.223 MB / 1.208 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007739/0.9501, allocations: 355.7 kB / 1.209 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.9504, allocations: 136.8 kB / 1.209 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001322/0.9517, allocations: 0.8415 MB / 1.21 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003323/0.952, allocations: 194.4 kB / 1.21 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=26): time 2.305e-06/0.9521, allocations: 4 kB / 1.21 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=26): time 0.001075/0.9531, allocations: 438.1 kB / 1.21 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.9532, allocations: 81.11 kB / 1.21 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009476/0.9542, allocations: 0.6525 MB / 1.211 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.9542, allocations: 29.7 kB / 1.211 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.9545, allocations: 319.7 kB / 1.211 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.788e-05/0.9545, allocations: 90.73 kB / 1.211 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.9547, allocations: 81.59 kB / 1.211 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.9549, allocations: 374.7 kB / 1.212 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003501/0.9552, allocations: 132.8 kB / 1.212 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004448/0.9557, allocations: 288.9 kB / 1.212 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006336/0.9563, allocations: 386.5 kB / 1.212 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.9563, allocations: 4 kB / 1.212 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001052/0.9574, allocations: 476.8 kB / 1.213 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.9574, allocations: 10.34 kB / 1.213 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.9574, allocations: 7.938 kB / 1.213 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.9575, allocations: 7.938 kB / 1.213 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/0.9579, allocations: 83.89 kB / 1.213 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.9579, allocations: 7.984 kB / 1.213 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006575/0.9586, allocations: 87.64 kB / 1.213 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.837e-05/0.9586, allocations: 27.94 kB / 1.213 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005136/0.9592, allocations: 284 kB / 1.213 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004403/0.9596, allocations: 277.8 kB / 1.214 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006104/0.9602, allocations: 385.2 kB / 1.214 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.539e-06/0.9602, allocations: 4 kB / 1.214 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.001007/0.9613, allocations: 479.4 kB / 1.215 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.9613, allocations: 4 kB / 1.215 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.9613, allocations: 4 kB / 1.215 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-06/0.9613, allocations: 8 kB / 1.215 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003985/0.9617, allocations: 87.83 kB / 1.215 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.9617, allocations: 16.09 kB / 1.215 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006279/0.9624, allocations: 67.73 kB / 1.215 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.061e-05/0.9624, allocations: 19.98 kB / 1.215 GB, free: 7.078 MB / 0.9669 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.0001892/0.9626, allocations: 212.1 kB / 1.215 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.9627, allocations: 63.19 kB / 1.215 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007329/0.9635, allocations: 315.6 kB / 1.215 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.9635, allocations: 8 kB / 1.215 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.9635, allocations: 0 / 1.215 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.9635, allocations: 3.938 kB / 1.215 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.9652, allocations: 1.093 MB / 1.216 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.9652, allocations: 4 kB / 1.216 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.9654, allocations: 39.92 kB / 1.216 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.463e-06/0.9654, allocations: 4.188 kB / 1.216 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.9654, allocations: 8 kB / 1.216 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.9654, allocations: 4 kB / 1.216 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.9654, allocations: 320 / 1.216 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006013/0.9661, allocations: 487 kB / 1.217 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.9663, allocations: 160.2 kB / 1.217 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.459e-05/0.9664, allocations: 12 kB / 1.217 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/0.9668, allocations: 27.98 kB / 1.217 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.863e-05/0.9669, allocations: 23.84 kB / 1.217 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.9669, allocations: 12 kB / 1.217 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006717/0.9676, allocations: 479 kB / 1.218 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9676, allocations: 0 / 1.218 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009599/0.9685, allocations: 271.5 kB / 1.218 GB, free: 3.73 MB / 0.9669 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.001335/0.9699, allocations: 0.5176 MB / 1.218 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.9711, allocations: 0.4892 MB / 1.219 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.9711, allocations: 4.188 kB / 1.219 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002377/0.9714, allocations: 119.8 kB / 1.219 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.9728, allocations: 266.2 kB / 1.219 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.975, allocations: 1.254 MB / 1.22 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/0.9755, allocations: 0.8824 MB / 1.221 GB, free: 284 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.9757, allocations: 59.36 kB / 1.221 GB, free: 224 kB / 0.9669 GB Notification: Performance of SimCode: time 6.01e-07/0.9757, allocations: 4 kB / 1.221 GB, free: 220 kB / 0.9669 GB Notification: Performance of Templates: time 0.01579/0.9915, allocations: 9.763 MB / 1.231 GB, free: 6.531 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.makefile (rm -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & ./Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches