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.0009583/0.0009583, allocations: 99.34 kB / 16.02 MB, free: 76 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.001261/0.001261, allocations: 184.2 kB / 16.92 MB, free: 6.895 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.423/1.423, allocations: 223.3 MB / 241 MB, free: 5.352 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.66/2.66, allocations: 437.8 MB / 0.7128 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.0003841, allocations: 8 kB / 0.8735 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7336/0.734, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.2046/0.9387, allocations: 175.8 MB / 1.195 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007176/0.9459, allocations: 3.731 MB / 1.199 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.9471, allocations: 27.81 kB / 1.199 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.9486, allocations: 370.2 kB / 1.199 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003794/0.9524, allocations: 1.179 MB / 1.201 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.9548, allocations: 0.6544 MB / 1.201 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002792/0.9576, allocations: 1.836 MB / 1.203 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009244/0.9585, allocations: 406.2 kB / 1.203 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003121/0.9616, allocations: 0.8797 MB / 1.204 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.9627, allocations: 470.1 kB / 1.205 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.9629, allocations: 20 kB / 1.205 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002909/0.9658, allocations: 1.313 MB / 1.206 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003023/0.9661, allocations: 175.4 kB / 1.206 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005689/0.9667, allocations: 316 kB / 1.206 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.9683, allocations: 0.8496 MB / 1.207 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.9683, allocations: 0 / 1.207 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9683, allocations: 0 / 1.207 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.844e-05/0.9684, allocations: 0 / 1.207 GB, free: 3.258 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.002496/0.9709, allocations: 0.9311 MB / 1.208 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.9709, allocations: 8.031 kB / 1.208 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.9724, allocations: 235 kB / 1.208 GB, free: 2.039 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.9734, allocations: 0.5342 MB / 1.209 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.488e-05/0.9735, allocations: 32.98 kB / 1.209 GB, free: 1.43 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.178e-05/0.9736, allocations: 44 kB / 1.209 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.9748, allocations: 0.5349 MB / 1.209 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.9748, allocations: 0 / 1.209 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.953e-05/0.9749, allocations: 12 kB / 1.21 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.405e-05/0.9749, allocations: 21 kB / 1.21 GB, free: 0.8008 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.9762, allocations: 0.5191 MB / 1.21 GB, free: 288 kB / 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.003696/0.9799, allocations: 2.227 MB / 1.212 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007951/0.9807, allocations: 355.6 kB / 1.213 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002509/0.981, allocations: 144.7 kB / 1.213 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001385/0.9823, allocations: 0.8689 MB / 1.214 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003403/0.9827, allocations: 194.2 kB / 1.214 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=26): time 2.394e-06/0.9827, allocations: 0 / 1.214 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of matching and sorting (n=26): time 0.001118/0.9838, allocations: 439.6 kB / 1.214 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.9839, allocations: 85.11 kB / 1.214 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.985, allocations: 0.6446 MB / 1.215 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.296e-05/0.985, allocations: 37.7 kB / 1.215 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/0.9853, allocations: 323.7 kB / 1.215 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.415e-05/0.9854, allocations: 90.73 kB / 1.215 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.337e-05/0.9855, allocations: 33.7 kB / 1.215 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.9857, allocations: 370.7 kB / 1.216 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.986, allocations: 135.9 kB / 1.216 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000477/0.9865, allocations: 286.3 kB / 1.216 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006718/0.9872, allocations: 385.4 kB / 1.216 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.9872, allocations: 0 / 1.216 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001099/0.9883, allocations: 472.3 kB / 1.217 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001863/0.9885, allocations: 211.9 kB / 1.217 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.9885, allocations: 4 kB / 1.217 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.9886, allocations: 12 kB / 1.217 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004207/0.989, allocations: 84.16 kB / 1.217 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.989, allocations: 7.938 kB / 1.217 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006821/0.9897, allocations: 83.55 kB / 1.217 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/0.9898, allocations: 16 kB / 1.217 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.9898, allocations: 4 kB / 1.217 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009039/0.9907, allocations: 410 kB / 1.218 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.9907, allocations: 4 kB / 1.218 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.208e-06/0.9907, allocations: 4 kB / 1.218 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003663/0.9911, allocations: 83.83 kB / 1.218 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.9911, allocations: 16.14 kB / 1.218 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005569/0.9917, allocations: 63.66 kB / 1.218 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/0.9917, allocations: 27.98 kB / 1.218 GB, free: 7.621 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.0003618/0.9921, allocations: 292.8 kB / 1.218 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.9922, allocations: 59.25 kB / 1.218 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006707/0.9929, allocations: 311.7 kB / 1.219 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.9929, allocations: 4 kB / 1.219 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.9929, allocations: 3.938 kB / 1.219 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.9929, allocations: 7.938 kB / 1.219 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/0.9946, allocations: 1.085 MB / 1.22 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.9946, allocations: 7.938 kB / 1.22 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.9948, allocations: 43.86 kB / 1.22 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.9948, allocations: 4 kB / 1.22 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.9949, allocations: 8 kB / 1.22 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.9949, allocations: 4 kB / 1.22 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.9949, allocations: 3.938 kB / 1.22 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000606/0.9955, allocations: 483.3 kB / 1.22 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000229/0.9957, allocations: 168.3 kB / 1.22 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.045e-05/0.9958, allocations: 8 kB / 1.22 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/0.9962, allocations: 31.89 kB / 1.22 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/0.9963, allocations: 27.84 kB / 1.22 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.9963, allocations: 12 kB / 1.22 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007278/0.9971, allocations: 475 kB / 1.221 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9971, allocations: 0 / 1.221 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001026/0.9981, allocations: 267.6 kB / 1.221 GB, free: 4.191 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.001319/0.9994, allocations: 0.5195 MB / 1.222 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001254/1.001, allocations: 498.9 kB / 1.222 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.001, allocations: 0 / 1.222 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002317/1.001, allocations: 132.1 kB / 1.222 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/1.003, allocations: 262.5 kB / 1.222 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/1.005, allocations: 1.275 MB / 1.224 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005483/1.005, allocations: 0.8863 MB / 1.225 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/1.006, allocations: 51.42 kB / 1.225 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of SimCode: time 5.51e-07/1.006, allocations: 0 / 1.225 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of Templates: time 0.01906/1.025, allocations: 9.664 MB / 1.234 GB, free: 7.07 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