Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001264/0.001264, allocations: 99.97 kB / 16.35 MB, free: 5.879 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.001276/0.001276, allocations: 198.5 kB / 17.3 MB, free: 5.52 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.319/1.319, 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 11.0.0-master/package.mo): time 2.411/2.411, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 69.34 kB / 0.8773 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2781, allocations: 153 MB / 1.027 GB, free: 2.113 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.6558/0.9339, allocations: 180.4 MB / 1.203 GB, free: 3.141 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006213/0.9402, allocations: 3.742 MB / 1.206 GB, free: 120 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005914/0.9408, allocations: 29.78 kB / 1.207 GB, free: 108 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.9419, allocations: 437.9 kB / 1.207 GB, free: 15.77 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002609/0.9445, allocations: 1.242 MB / 1.208 GB, free: 14.83 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.9462, allocations: 0.7475 MB / 1.209 GB, free: 14.28 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001486/0.9477, allocations: 1.357 MB / 1.21 GB, free: 13.5 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006076/0.9483, allocations: 474.2 kB / 1.211 GB, free: 13.21 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002126/0.9505, allocations: 0.9724 MB / 1.212 GB, free: 12.61 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005375/0.951, allocations: 466.1 kB / 1.212 GB, free: 12.35 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.955e-05/0.9511, allocations: 45.19 kB / 1.212 GB, free: 12.35 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001922/0.953, allocations: 1.189 MB / 1.213 GB, free: 11.68 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.9532, allocations: 192.4 kB / 1.213 GB, free: 11.55 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002977/0.9535, allocations: 333.7 kB / 1.214 GB, free: 11.34 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.955, allocations: 1.188 MB / 1.215 GB, free: 10.6 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.9551, allocations: 0 / 1.215 GB, free: 10.6 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9551, allocations: 3.938 kB / 1.215 GB, free: 10.59 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.9551, allocations: 0 / 1.215 GB, free: 10.59 MB / 0.92 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.00196/0.957, allocations: 1.049 MB / 1.216 GB, free: 9.723 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.9571, allocations: 7.844 kB / 1.216 GB, free: 9.723 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/0.9585, allocations: 217.2 kB / 1.216 GB, free: 9.625 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008624/0.9594, allocations: 0.5626 MB / 1.217 GB, free: 9.152 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.9594, allocations: 34.94 kB / 1.217 GB, free: 9.137 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.384e-05/0.9595, allocations: 40.69 kB / 1.217 GB, free: 9.121 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.9605, allocations: 0.5431 MB / 1.217 GB, free: 8.781 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.9606, allocations: 0 / 1.217 GB, free: 8.781 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.333e-05/0.9606, allocations: 16.53 kB / 1.217 GB, free: 8.77 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.862e-05/0.9606, allocations: 16.59 kB / 1.217 GB, free: 8.766 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.9617, allocations: 0.5033 MB / 1.218 GB, free: 8.52 MB / 0.92 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.003177/0.9649, allocations: 2.217 MB / 1.22 GB, free: 6.582 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006978/0.9656, allocations: 345.7 kB / 1.22 GB, free: 6.352 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.9658, allocations: 145.5 kB / 1.22 GB, free: 6.277 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001255/0.9671, allocations: 0.8376 MB / 1.221 GB, free: 5.367 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002922/0.9674, allocations: 200.3 kB / 1.221 GB, free: 5.219 MB / 0.92 GB Notification: Performance of pre-optimization done (n=26): time 1.643e-06/0.9674, allocations: 3.938 kB / 1.221 GB, free: 5.215 MB / 0.92 GB Notification: Performance of matching and sorting (n=26): time 0.0009307/0.9683, allocations: 435.6 kB / 1.222 GB, free: 5 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.9684, allocations: 83.2 kB / 1.222 GB, free: 4.902 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007779/0.9692, allocations: 0.6455 MB / 1.223 GB, free: 4.438 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.9692, allocations: 33.7 kB / 1.223 GB, free: 4.398 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.9694, allocations: 319.7 kB / 1.223 GB, free: 4.082 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.53e-05/0.9695, allocations: 94.73 kB / 1.223 GB, free: 3.988 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.9697, allocations: 81.58 kB / 1.223 GB, free: 3.902 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.9698, allocations: 370.7 kB / 1.223 GB, free: 3.531 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.9702, allocations: 140.8 kB / 1.224 GB, free: 3.391 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004284/0.9706, allocations: 278.2 kB / 1.224 GB, free: 3.059 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005949/0.9712, allocations: 380.4 kB / 1.224 GB, free: 2.633 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.9712, allocations: 4 kB / 1.224 GB, free: 2.629 MB / 0.92 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009524/0.9722, allocations: 474 kB / 1.225 GB, free: 2.16 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.9722, allocations: 8 kB / 1.225 GB, free: 2.152 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.9722, allocations: 4.406 kB / 1.225 GB, free: 2.148 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.9722, allocations: 8 kB / 1.225 GB, free: 2.141 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/0.9726, allocations: 87.83 kB / 1.225 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.9727, allocations: 8 kB / 1.225 GB, free: 2.047 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005767/0.9732, allocations: 75.55 kB / 1.225 GB, free: 1.973 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/0.9733, allocations: 19.94 kB / 1.225 GB, free: 1.953 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004769/0.9738, allocations: 292 kB / 1.225 GB, free: 1.664 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004155/0.9742, allocations: 290.4 kB / 1.225 GB, free: 1.32 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005816/0.9748, allocations: 381.2 kB / 1.226 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.024e-06/0.9748, allocations: 4 kB / 1.226 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.000921/0.9757, allocations: 475.1 kB / 1.226 GB, free: 432 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.9758, allocations: 8 kB / 1.226 GB, free: 424 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.9758, allocations: 4 kB / 1.226 GB, free: 420 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.074e-06/0.9758, allocations: 8 kB / 1.226 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003962/0.9762, allocations: 88.17 kB / 1.226 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.9762, allocations: 7.938 kB / 1.226 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005328/0.9768, allocations: 71.67 kB / 1.226 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.816e-05/0.9768, allocations: 21.95 kB / 1.226 GB, free: 224 kB / 0.92 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.0001367/0.9769, allocations: 200.2 kB / 1.227 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.842e-05/0.977, allocations: 59.3 kB / 1.227 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006177/0.9777, allocations: 323.6 kB / 1.227 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.9777, allocations: 7.5 kB / 1.227 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/0.9777, allocations: 4 kB / 1.227 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.9777, allocations: 3.938 kB / 1.227 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.9792, allocations: 1.091 MB / 1.228 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.9792, allocations: 4 kB / 1.228 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.9794, allocations: 35.92 kB / 1.228 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.9794, allocations: 4 kB / 1.228 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.9794, allocations: 8 kB / 1.228 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.9794, allocations: 8.25 kB / 1.228 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.9794, allocations: 8 kB / 1.228 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005385/0.98, allocations: 481.7 kB / 1.229 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.9802, allocations: 164.2 kB / 1.229 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.202e-05/0.9803, allocations: 4 kB / 1.229 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/0.9806, allocations: 23.98 kB / 1.229 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/0.9807, allocations: 23.86 kB / 1.229 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.9807, allocations: 15.98 kB / 1.229 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006131/0.9813, allocations: 479 kB / 1.229 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9813, allocations: 0 / 1.229 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000825/0.9821, allocations: 267.6 kB / 1.23 GB, free: 12.88 MB / 0.9356 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.001182/0.9833, allocations: 0.5031 MB / 1.23 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.9844, allocations: 0.4989 MB / 1.231 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.9844, allocations: 1.062 kB / 1.231 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.9847, allocations: 134.1 kB / 1.231 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.9858, allocations: 281.6 kB / 1.231 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.9875, allocations: 1.013 MB / 1.232 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.9879, allocations: 0.8938 MB / 1.233 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005364/0.9885, allocations: 164.8 kB / 1.233 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.9886, allocations: 47.42 kB / 1.233 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of SimCode: time 1.703e-06/0.9886, allocations: 0 / 1.233 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of Templates: time 0.01735/1.006, allocations: 10.39 MB / 1.243 GB, free: 15.19 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches