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.009154/0.009154, allocations: 103.1 kB / 15.73 MB, free: 6.035 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.001959/0.001959, allocations: 199 kB / 16.67 MB, free: 5.969 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.363/2.363, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 62 kB / 0.9508 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3077, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.8537/1.161, allocations: 180.3 MB / 1.264 GB, free: 3.531 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00732/1.169, allocations: 3.741 MB / 1.268 GB, free: 3.5 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009934/1.17, allocations: 29.31 kB / 1.268 GB, free: 3.5 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001361/1.171, allocations: 435.8 kB / 1.268 GB, free: 3.492 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004016/1.175, allocations: 1.244 MB / 1.269 GB, free: 3.445 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00271/1.178, allocations: 0.7528 MB / 1.27 GB, free: 3.426 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002739/1.181, allocations: 1.354 MB / 1.271 GB, free: 3.422 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009614/1.182, allocations: 473.1 kB / 1.272 GB, free: 3.406 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003416/1.185, allocations: 0.9763 MB / 1.273 GB, free: 3.387 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009531/1.186, allocations: 463.6 kB / 1.273 GB, free: 3.387 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.965e-05/1.186, allocations: 45.95 kB / 1.273 GB, free: 3.387 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003219/1.189, allocations: 1.182 MB / 1.274 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003182/1.19, allocations: 197.8 kB / 1.275 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000491/1.19, allocations: 321.9 kB / 1.275 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002898/1.193, allocations: 1.196 MB / 1.276 GB, free: 3.301 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.193, allocations: 0.8438 kB / 1.276 GB, free: 3.301 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.623e-06/1.193, allocations: 1.625 kB / 1.276 GB, free: 3.301 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.269e-05/1.193, allocations: 1.75 kB / 1.276 GB, free: 3.301 MB / 1.014 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.002486/1.196, allocations: 1.051 MB / 1.277 GB, free: 2.645 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/1.196, allocations: 10.56 kB / 1.277 GB, free: 2.645 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/1.197, allocations: 218 kB / 1.277 GB, free: 2.609 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/1.198, allocations: 0.5697 MB / 1.278 GB, free: 2.324 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/1.198, allocations: 33.61 kB / 1.278 GB, free: 2.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.708e-05/1.198, allocations: 37.28 kB / 1.278 GB, free: 2.32 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/1.2, allocations: 0.5356 MB / 1.278 GB, free: 2.25 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/1.2, allocations: 5.312 kB / 1.278 GB, free: 2.25 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.256e-05/1.2, allocations: 13.94 kB / 1.278 GB, free: 2.25 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.694e-05/1.2, allocations: 21.27 kB / 1.279 GB, free: 2.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/1.201, allocations: 0.5021 MB / 1.279 GB, free: 2.25 MB / 1.014 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.003464/1.204, allocations: 2.212 MB / 1.281 GB, free: 1.031 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009061/1.205, allocations: 349.1 kB / 1.281 GB, free: 16.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/1.206, allocations: 141.1 kB / 1.282 GB, free: 16.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00147/1.207, allocations: 0.8422 MB / 1.282 GB, free: 16.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003658/1.208, allocations: 196.1 kB / 1.283 GB, free: 15.99 MB / 1.029 GB Notification: Performance of pre-optimization done (n=26): time 2.845e-06/1.208, allocations: 0 / 1.283 GB, free: 15.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=26): time 0.001161/1.209, allocations: 439.5 kB / 1.283 GB, free: 15.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/1.209, allocations: 81.48 kB / 1.283 GB, free: 15.83 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/1.21, allocations: 0.6468 MB / 1.284 GB, free: 15.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/1.21, allocations: 36.61 kB / 1.284 GB, free: 15.67 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/1.21, allocations: 320.1 kB / 1.284 GB, free: 15.53 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.382e-05/1.21, allocations: 93.08 kB / 1.284 GB, free: 15.47 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/1.21, allocations: 80.14 kB / 1.284 GB, free: 15.45 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002085/1.211, allocations: 372.3 kB / 1.285 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004064/1.211, allocations: 140.5 kB / 1.285 GB, free: 15.13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004834/1.212, allocations: 279.9 kB / 1.285 GB, free: 14.97 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006637/1.212, allocations: 387.6 kB / 1.285 GB, free: 14.82 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/1.212, allocations: 2.031 kB / 1.285 GB, free: 14.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001094/1.213, allocations: 472.1 kB / 1.286 GB, free: 14.76 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/1.213, allocations: 6.938 kB / 1.286 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.213, allocations: 9.375 kB / 1.286 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/1.213, allocations: 5.531 kB / 1.286 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004338/1.214, allocations: 89.08 kB / 1.286 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/1.214, allocations: 8 kB / 1.286 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000666/1.215, allocations: 74.56 kB / 1.286 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.635e-05/1.215, allocations: 21.61 kB / 1.286 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005422/1.215, allocations: 292.6 kB / 1.286 GB, free: 14.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004643/1.216, allocations: 281.3 kB / 1.287 GB, free: 14.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006389/1.216, allocations: 389.2 kB / 1.287 GB, free: 14.35 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.695e-06/1.216, allocations: 1.125 kB / 1.287 GB, free: 14.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.001058/1.217, allocations: 476 kB / 1.287 GB, free: 14.29 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/1.217, allocations: 8.25 kB / 1.287 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.217, allocations: 4.469 kB / 1.287 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/1.217, allocations: 11.12 kB / 1.287 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/1.218, allocations: 88.02 kB / 1.288 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/1.218, allocations: 7.875 kB / 1.288 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006356/1.219, allocations: 68.08 kB / 1.288 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/1.219, allocations: 20.47 kB / 1.288 GB, free: 14.27 MB / 1.029 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.0001832/1.219, allocations: 208.4 kB / 1.288 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.703e-05/1.219, allocations: 57.22 kB / 1.288 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007021/1.22, allocations: 322 kB / 1.288 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/1.22, allocations: 2.562 kB / 1.288 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/1.22, allocations: 2.453 kB / 1.288 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/1.22, allocations: 2.031 kB / 1.288 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/1.221, allocations: 1.083 MB / 1.289 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/1.221, allocations: 6.781 kB / 1.289 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/1.222, allocations: 46.25 kB / 1.289 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/1.222, allocations: 3.906 kB / 1.289 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/1.222, allocations: 5.391 kB / 1.289 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/1.222, allocations: 5.359 kB / 1.289 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.222, allocations: 3.703 kB / 1.289 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006457/1.222, allocations: 481.5 kB / 1.29 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/1.223, allocations: 158.7 kB / 1.29 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.571e-05/1.223, allocations: 17.88 kB / 1.29 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003461/1.223, allocations: 21.31 kB / 1.29 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.613e-05/1.223, allocations: 23.42 kB / 1.29 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/1.223, allocations: 12.55 kB / 1.29 GB, free: 13.15 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007675/1.224, allocations: 476.3 kB / 1.29 GB, free: 13.05 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/1.224, allocations: 1.469 kB / 1.29 GB, free: 13.05 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001094/1.225, allocations: 264.7 kB / 1.291 GB, free: 13.03 MB / 1.029 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.001345/1.226, allocations: 0.5161 MB / 1.291 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001317/1.228, allocations: 0.5041 MB / 1.292 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/1.228, allocations: 1.094 kB / 1.292 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002318/1.228, allocations: 123 kB / 1.292 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/1.229, allocations: 277.3 kB / 1.292 GB, free: 12.8 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/1.231, allocations: 1.022 MB / 1.293 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/1.232, allocations: 0.8939 MB / 1.294 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006665/1.233, allocations: 172.8 kB / 1.294 GB, free: 11.6 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/1.233, allocations: 44.88 kB / 1.294 GB, free: 11.59 MB / 1.029 GB Notification: Performance of SimCode: time 1.813e-06/1.233, allocations: 0 / 1.294 GB, free: 11.59 MB / 1.029 GB Notification: Performance of Templates: time 0.02137/1.254, allocations: 10.46 MB / 1.304 GB, free: 10.97 MB / 1.029 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