Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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_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_10_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_10_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.001289/0.001289, allocations: 108.1 kB / 16.41 MB, free: 6.488 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.001613/0.001613, allocations: 183 kB / 17.34 MB, free: 5.766 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.413/2.413, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 63.91 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8461/0.8476, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic): time 0.2029/1.051, allocations: 180.3 MB / 1.343 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.007184/1.058, allocations: 3.741 MB / 1.347 GB, free: 11.09 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/1.059, allocations: 27.81 kB / 1.347 GB, free: 11.07 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001435/1.06, allocations: 445.5 kB / 1.348 GB, free: 10.63 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003413/1.064, allocations: 1.301 MB / 1.349 GB, free: 9.324 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002101/1.066, allocations: 0.7422 MB / 1.35 GB, free: 8.586 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002089/1.068, allocations: 1.364 MB / 1.351 GB, free: 7.215 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009184/1.069, allocations: 481.3 kB / 1.351 GB, free: 6.738 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002898/1.072, allocations: 1.017 MB / 1.352 GB, free: 5.723 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000959/1.073, allocations: 462.2 kB / 1.353 GB, free: 5.27 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000152/1.073, allocations: 44 kB / 1.353 GB, free: 5.227 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002432/1.076, allocations: 1.197 MB / 1.354 GB, free: 4.027 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003035/1.076, allocations: 199.4 kB / 1.354 GB, free: 3.832 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005721/1.076, allocations: 330.2 kB / 1.354 GB, free: 3.508 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002738/1.079, allocations: 1.194 MB / 1.356 GB, free: 2.312 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.079, allocations: 4 kB / 1.356 GB, free: 2.309 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.824e-06/1.079, allocations: 0 / 1.356 GB, free: 2.309 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.59e-05/1.079, allocations: 0 / 1.356 GB, free: 2.309 MB / 1.076 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.002932/1.082, allocations: 1.063 MB / 1.357 GB, free: 1.191 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/1.082, allocations: 8.031 kB / 1.357 GB, free: 1.184 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/1.084, allocations: 219 kB / 1.357 GB, free: 0.9688 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/1.085, allocations: 0.5693 MB / 1.357 GB, free: 368 kB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.866e-05/1.085, allocations: 33 kB / 1.357 GB, free: 336 kB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.419e-05/1.085, allocations: 36 kB / 1.357 GB, free: 300 kB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/1.086, allocations: 0.5474 MB / 1.358 GB, free: 15.73 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/1.086, allocations: 3.938 kB / 1.358 GB, free: 15.72 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.712e-05/1.086, allocations: 16 kB / 1.358 GB, free: 15.71 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.157e-05/1.086, allocations: 17 kB / 1.358 GB, free: 15.69 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/1.087, allocations: 0.4918 MB / 1.359 GB, free: 15.2 MB / 1.092 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.003605/1.091, allocations: 2.219 MB / 1.361 GB, free: 12.8 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007091/1.092, allocations: 356 kB / 1.361 GB, free: 12.43 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/1.092, allocations: 152.7 kB / 1.361 GB, free: 12.28 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001418/1.094, allocations: 0.8415 MB / 1.362 GB, free: 11.27 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003505/1.094, allocations: 197 kB / 1.362 GB, free: 11.06 MB / 1.092 GB Notification: Performance of pre-optimization done (n=28): time 3.586e-06/1.094, allocations: 0 / 1.362 GB, free: 11.06 MB / 1.092 GB Notification: Performance of matching and sorting (n=28): time 0.001138/1.095, allocations: 459.2 kB / 1.363 GB, free: 10.61 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/1.095, allocations: 85.09 kB / 1.363 GB, free: 10.5 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009885/1.096, allocations: 0.6525 MB / 1.363 GB, free: 9.844 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.039e-05/1.096, allocations: 33.7 kB / 1.363 GB, free: 9.805 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/1.096, allocations: 315.8 kB / 1.364 GB, free: 9.492 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/1.097, allocations: 94.59 kB / 1.364 GB, free: 9.398 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/1.097, allocations: 86.03 kB / 1.364 GB, free: 9.309 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001755/1.097, allocations: 370.8 kB / 1.364 GB, free: 8.938 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/1.097, allocations: 150.5 kB / 1.364 GB, free: 8.789 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/1.098, allocations: 294.8 kB / 1.365 GB, free: 8.438 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000675/1.098, allocations: 417.3 kB / 1.365 GB, free: 7.977 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/1.098, allocations: 0 / 1.365 GB, free: 7.977 MB / 1.092 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001093/1.1, allocations: 0.4917 MB / 1.366 GB, free: 7.48 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/1.1, allocations: 8 kB / 1.366 GB, free: 7.473 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.1, allocations: 4 kB / 1.366 GB, free: 7.469 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/1.1, allocations: 4 kB / 1.366 GB, free: 7.465 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004383/1.1, allocations: 99.77 kB / 1.366 GB, free: 7.367 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/1.1, allocations: 7.984 kB / 1.366 GB, free: 7.359 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006577/1.101, allocations: 83.55 kB / 1.366 GB, free: 7.277 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/1.101, allocations: 20 kB / 1.366 GB, free: 7.258 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005716/1.101, allocations: 300.9 kB / 1.366 GB, free: 6.961 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000459/1.102, allocations: 298.2 kB / 1.366 GB, free: 6.609 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006454/1.103, allocations: 415 kB / 1.367 GB, free: 6.148 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.039e-06/1.103, allocations: 0 / 1.367 GB, free: 6.148 MB / 1.092 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001086/1.104, allocations: 499.1 kB / 1.367 GB, free: 5.656 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/1.104, allocations: 8 kB / 1.367 GB, free: 5.648 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/1.104, allocations: 7.984 kB / 1.367 GB, free: 5.641 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/1.104, allocations: 8 kB / 1.367 GB, free: 5.633 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000413/1.104, allocations: 87.89 kB / 1.367 GB, free: 5.547 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/1.104, allocations: 11.94 kB / 1.367 GB, free: 5.535 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006477/1.105, allocations: 71.67 kB / 1.367 GB, free: 5.465 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/1.105, allocations: 19.98 kB / 1.367 GB, free: 5.445 MB / 1.092 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.0001918/1.105, allocations: 208.1 kB / 1.368 GB, free: 5.234 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/1.105, allocations: 63.25 kB / 1.368 GB, free: 5.172 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006745/1.106, allocations: 343.9 kB / 1.368 GB, free: 4.824 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/1.106, allocations: 3.984 kB / 1.368 GB, free: 4.82 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.106, allocations: 4 kB / 1.368 GB, free: 4.816 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/1.106, allocations: 3.984 kB / 1.368 GB, free: 4.812 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/1.108, allocations: 1.107 MB / 1.369 GB, free: 3.617 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/1.108, allocations: 4.312 kB / 1.369 GB, free: 3.613 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/1.108, allocations: 47.91 kB / 1.369 GB, free: 3.566 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/1.108, allocations: 4 kB / 1.369 GB, free: 3.562 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/1.108, allocations: 12 kB / 1.369 GB, free: 3.551 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/1.108, allocations: 7.938 kB / 1.369 GB, free: 3.543 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.108, allocations: 0 / 1.369 GB, free: 3.543 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008753/1.109, allocations: 0.6318 MB / 1.37 GB, free: 2.863 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/1.109, allocations: 156.4 kB / 1.37 GB, free: 2.691 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.386e-05/1.109, allocations: 12.06 kB / 1.37 GB, free: 2.68 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003503/1.11, allocations: 19.98 kB / 1.37 GB, free: 2.66 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.901e-05/1.11, allocations: 31.75 kB / 1.37 GB, free: 2.629 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/1.11, allocations: 12 kB / 1.37 GB, free: 2.617 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0006848/1.11, allocations: 479 kB / 1.37 GB, free: 2.156 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.9e-07/1.11, allocations: 0 / 1.37 GB, free: 2.156 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009894/1.111, allocations: 263.7 kB / 1.371 GB, free: 1.898 MB / 1.092 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.001299/1.113, allocations: 0.5168 MB / 1.371 GB, free: 1.543 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001312/1.114, allocations: 0.5298 MB / 1.372 GB, free: 1.016 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.114, allocations: 0 / 1.372 GB, free: 1.016 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002501/1.114, allocations: 137.3 kB / 1.372 GB, free: 0.8828 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/1.116, allocations: 285 kB / 1.372 GB, free: 0.6094 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/1.118, allocations: 1.187 MB / 1.373 GB, free: 15.36 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004985/1.119, allocations: 0.8939 MB / 1.374 GB, free: 14.44 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/1.119, allocations: 55.42 kB / 1.374 GB, free: 14.38 MB / 1.107 GB Notification: Performance of SimCode: time 9.01e-07/1.119, allocations: 0 / 1.374 GB, free: 14.38 MB / 1.107 GB Notification: Performance of Templates: time 0.01592/1.135, allocations: 10.02 MB / 1.384 GB, free: 4.426 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.makefile (rm -f Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & ./Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches