Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.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_dynamic,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_dynamic") translateModel(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,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_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001571, allocations: 105.5 kB / 16.41 MB, free: 6.496 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.001674/0.001674, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.14 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.191/2.191, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 71.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9057/0.9071, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic): time 0.2327/1.14, allocations: 180.3 MB / 1.265 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006476/1.146, allocations: 3.744 MB / 1.268 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007785/1.147, allocations: 23.88 kB / 1.268 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001162/1.148, allocations: 437.5 kB / 1.269 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003148/1.152, allocations: 1.256 MB / 1.27 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002116/1.154, allocations: 0.7423 MB / 1.271 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002115/1.156, allocations: 1.353 MB / 1.272 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000922/1.157, allocations: 489.3 kB / 1.273 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003/1.16, allocations: 0.9923 MB / 1.274 GB, free: 484 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009672/1.161, allocations: 462.1 kB / 1.274 GB, free: 20 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001967/1.161, allocations: 47.98 kB / 1.274 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002608/1.164, allocations: 1.193 MB / 1.275 GB, free: 14.78 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003731/1.164, allocations: 199.3 kB / 1.275 GB, free: 14.58 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006419/1.165, allocations: 326.3 kB / 1.276 GB, free: 14.26 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002599/1.167, allocations: 1.211 MB / 1.277 GB, free: 13.05 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/1.167, allocations: 0 / 1.277 GB, free: 13.05 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.763e-06/1.167, allocations: 0 / 1.277 GB, free: 13.05 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.985e-05/1.167, allocations: 0 / 1.277 GB, free: 13.05 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.00261/1.17, allocations: 1.048 MB / 1.278 GB, free: 11.95 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/1.17, allocations: 8.031 kB / 1.278 GB, free: 11.94 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/1.171, allocations: 222.9 kB / 1.278 GB, free: 11.72 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009846/1.172, allocations: 0.5615 MB / 1.279 GB, free: 11.12 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/1.172, allocations: 33 kB / 1.279 GB, free: 11.09 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.823e-05/1.173, allocations: 36 kB / 1.279 GB, free: 11.05 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/1.174, allocations: 0.5474 MB / 1.279 GB, free: 10.48 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/1.174, allocations: 0 / 1.279 GB, free: 10.48 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.835e-05/1.174, allocations: 20 kB / 1.279 GB, free: 10.46 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.418e-05/1.174, allocations: 17 kB / 1.279 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/1.175, allocations: 0.5034 MB / 1.28 GB, free: 9.941 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.003254/1.178, allocations: 2.21 MB / 1.282 GB, free: 7.562 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006936/1.179, allocations: 363.8 kB / 1.282 GB, free: 7.18 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/1.179, allocations: 148.8 kB / 1.282 GB, free: 7.031 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/1.18, allocations: 0.8416 MB / 1.283 GB, free: 6.023 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003494/1.181, allocations: 213 kB / 1.283 GB, free: 5.797 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 2.044e-06/1.181, allocations: 3.938 kB / 1.283 GB, free: 5.793 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.001081/1.182, allocations: 448.3 kB / 1.284 GB, free: 5.352 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/1.182, allocations: 85.05 kB / 1.284 GB, free: 5.25 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009061/1.183, allocations: 0.6525 MB / 1.285 GB, free: 4.586 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.614e-05/1.183, allocations: 29.7 kB / 1.285 GB, free: 4.551 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/1.183, allocations: 319.8 kB / 1.285 GB, free: 4.234 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.512e-05/1.183, allocations: 98.58 kB / 1.285 GB, free: 4.137 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/1.183, allocations: 86.03 kB / 1.285 GB, free: 4.047 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.184, allocations: 378.8 kB / 1.285 GB, free: 3.668 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003775/1.184, allocations: 142.5 kB / 1.286 GB, free: 3.523 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004721/1.185, allocations: 302.2 kB / 1.286 GB, free: 3.164 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000649/1.185, allocations: 403.9 kB / 1.286 GB, free: 2.715 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/1.185, allocations: 4 kB / 1.286 GB, free: 2.711 MB / 1.014 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001099/1.186, allocations: 0.4953 MB / 1.287 GB, free: 2.211 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/1.186, allocations: 8 kB / 1.287 GB, free: 2.203 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/1.186, allocations: 4 kB / 1.287 GB, free: 2.199 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/1.186, allocations: 7.938 kB / 1.287 GB, free: 2.191 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/1.187, allocations: 95.98 kB / 1.287 GB, free: 2.098 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/1.187, allocations: 4 kB / 1.287 GB, free: 2.094 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006195/1.187, allocations: 79.55 kB / 1.287 GB, free: 2.016 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/1.187, allocations: 23.98 kB / 1.287 GB, free: 1.992 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005207/1.188, allocations: 304.8 kB / 1.287 GB, free: 1.688 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004651/1.188, allocations: 299.4 kB / 1.288 GB, free: 1.336 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006515/1.189, allocations: 408.8 kB / 1.288 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.717e-06/1.189, allocations: 0 / 1.288 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001089/1.19, allocations: 498.2 kB / 1.288 GB, free: 400 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/1.19, allocations: 4 kB / 1.288 GB, free: 396 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/1.19, allocations: 4 kB / 1.288 GB, free: 392 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/1.19, allocations: 8 kB / 1.288 GB, free: 384 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000402/1.191, allocations: 99.97 kB / 1.289 GB, free: 284 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/1.191, allocations: 8 kB / 1.289 GB, free: 276 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006269/1.191, allocations: 71.64 kB / 1.289 GB, free: 204 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.996e-05/1.191, allocations: 20 kB / 1.289 GB, free: 184 kB / 1.014 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 (47): * Single equations (assignments): 47 * 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.0001972/1.192, allocations: 208.5 kB / 1.289 GB, free: 15.97 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/1.192, allocations: 67.23 kB / 1.289 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000649/1.192, allocations: 331.7 kB / 1.289 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/1.192, allocations: 4 kB / 1.289 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.192, allocations: 4 kB / 1.289 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/1.192, allocations: 3.938 kB / 1.289 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/1.194, allocations: 1.113 MB / 1.29 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.194, allocations: 320 / 1.29 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/1.194, allocations: 47.92 kB / 1.29 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/1.194, allocations: 0 / 1.29 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/1.194, allocations: 15.98 kB / 1.29 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/1.194, allocations: 11.92 kB / 1.29 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.194, allocations: 0 / 1.29 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008456/1.195, allocations: 0.6286 MB / 1.291 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/1.195, allocations: 164.3 kB / 1.291 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.171e-05/1.196, allocations: 8 kB / 1.291 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003356/1.196, allocations: 15.98 kB / 1.291 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.345e-05/1.196, allocations: 31.91 kB / 1.291 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/1.196, allocations: 16 kB / 1.291 GB, free: 13.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000659/1.197, allocations: 471 kB / 1.292 GB, free: 12.9 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.197, allocations: 0 / 1.292 GB, free: 12.9 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009129/1.198, allocations: 275.6 kB / 1.292 GB, free: 12.63 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (hum.outCon.T,hum.outCon.Xi) * 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 (27): * Single equations (assignments): 25 * 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.001309/1.199, allocations: 0.5115 MB / 1.292 GB, free: 12.28 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001292/1.2, allocations: 0.5297 MB / 1.293 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/1.2, allocations: 0 / 1.293 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002462/1.201, allocations: 139.3 kB / 1.293 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/1.202, allocations: 281.3 kB / 1.293 GB, free: 11.35 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/1.204, allocations: 1.178 MB / 1.294 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/1.205, allocations: 0.8978 MB / 1.295 GB, free: 9.176 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/1.205, allocations: 55.42 kB / 1.295 GB, free: 9.121 MB / 1.029 GB Notification: Performance of SimCode: time 9.92e-07/1.205, allocations: 0 / 1.295 GB, free: 9.121 MB / 1.029 GB Notification: Performance of Templates: time 0.017/1.222, allocations: 10 MB / 1.305 GB, free: 15.2 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.makefile (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & ./Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches