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.001182/0.001182, allocations: 99 kB / 15.05 MB, free: 1.105 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.001379/0.001379, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 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: 223.2 MB / 239.9 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.476/2.476, allocations: 436.5 MB / 0.7104 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003104, allocations: 8 kB / 0.8707 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6334/0.6337, allocations: 153.7 MB / 1.021 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X): time 0.1538/0.7876, allocations: 150.3 MB / 1.168 GB, free: 10.43 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00624/0.7939, allocations: 3.649 MB / 1.171 GB, free: 6.766 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006574/0.7946, allocations: 23.81 kB / 1.171 GB, free: 6.742 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.796, allocations: 414.3 kB / 1.172 GB, free: 6.336 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002993/0.799, allocations: 1.005 MB / 1.173 GB, free: 5.328 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.8008, allocations: 0.651 MB / 1.173 GB, free: 4.684 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001353/0.8022, allocations: 0.8195 MB / 1.174 GB, free: 3.863 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006134/0.8028, allocations: 401 kB / 1.174 GB, free: 3.473 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001521/0.8043, allocations: 0.7438 MB / 1.175 GB, free: 2.727 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004287/0.8048, allocations: 310.7 kB / 1.175 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.764e-05/0.8048, allocations: 20 kB / 1.175 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.8061, allocations: 0.6045 MB / 1.176 GB, free: 1.797 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.8063, allocations: 163.5 kB / 1.176 GB, free: 1.637 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.8064, allocations: 145.3 kB / 1.176 GB, free: 1.488 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008534/0.8073, allocations: 0.7132 MB / 1.177 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.8073, allocations: 0 / 1.177 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8073, allocations: 0 / 1.177 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.8073, allocations: 0 / 1.177 GB, free: 0.7734 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.001848/0.8092, allocations: 0.9117 MB / 1.178 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.8092, allocations: 11.98 kB / 1.178 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/0.8105, allocations: 231 kB / 1.178 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008255/0.8114, allocations: 0.5152 MB / 1.179 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/0.8114, allocations: 32.98 kB / 1.179 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.151e-05/0.8115, allocations: 36 kB / 1.179 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.8125, allocations: 0.5349 MB / 1.179 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.8125, allocations: 0 / 1.179 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.211e-05/0.8126, allocations: 23.94 kB / 1.179 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/0.8126, allocations: 16.94 kB / 1.179 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.8138, allocations: 0.5075 MB / 1.18 GB, free: 13.85 MB / 0.9356 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.003142/0.8169, allocations: 2.223 MB / 1.182 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005532/0.8175, allocations: 343.8 kB / 1.182 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/0.8185, allocations: 0.6001 MB / 1.183 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003118/0.8189, allocations: 198.2 kB / 1.183 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 3.196e-06/0.8189, allocations: 3.984 kB / 1.183 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26): time 0.0009654/0.8199, allocations: 434.4 kB / 1.183 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.8199, allocations: 106.8 kB / 1.184 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008205/0.8208, allocations: 0.6447 MB / 1.184 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.8208, allocations: 29.7 kB / 1.184 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/0.821, allocations: 327.7 kB / 1.185 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.686e-05/0.8211, allocations: 86.75 kB / 1.185 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.8211, allocations: 8 kB / 1.185 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.8213, allocations: 366.8 kB / 1.185 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/0.8216, allocations: 127.9 kB / 1.185 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/0.822, allocations: 273 kB / 1.185 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003849/0.8224, allocations: 175.3 kB / 1.186 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.8224, allocations: 0 / 1.186 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009494/0.8234, allocations: 464.3 kB / 1.186 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004845/0.8239, allocations: 1.573 MB / 1.187 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.8239, allocations: 7.938 kB / 1.187 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.8239, allocations: 8 kB / 1.187 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/0.8243, allocations: 87.89 kB / 1.188 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.8244, allocations: 11.97 kB / 1.188 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006221/0.825, allocations: 83.48 kB / 1.188 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/0.8251, allocations: 23.94 kB / 1.188 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.8251, allocations: 13.92 kB / 1.188 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008362/0.8259, allocations: 387.7 kB / 1.188 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.8259, allocations: 4 kB / 1.188 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.832e-06/0.8259, allocations: 4 kB / 1.188 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003899/0.8263, allocations: 87.83 kB / 1.188 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.8264, allocations: 8 kB / 1.188 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/0.8268, allocations: 75.61 kB / 1.188 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/0.8269, allocations: 20 kB / 1.188 GB, free: 4.527 MB / 0.9356 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 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002838/0.8272, allocations: 289.1 kB / 1.189 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.172e-05/0.8273, allocations: 71.14 kB / 1.189 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005713/0.8278, allocations: 304.3 kB / 1.189 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.8279, allocations: 7.953 kB / 1.189 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.8279, allocations: 0 / 1.189 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.8279, allocations: 11.92 kB / 1.189 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.8293, allocations: 1.149 MB / 1.19 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.8293, allocations: 4 kB / 1.19 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.8295, allocations: 39.92 kB / 1.19 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.8295, allocations: 4 kB / 1.19 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.8296, allocations: 8 kB / 1.19 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.8296, allocations: 8.062 kB / 1.19 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.8296, allocations: 7.938 kB / 1.19 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005769/0.8302, allocations: 0.5779 MB / 1.191 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/0.8304, allocations: 176.2 kB / 1.191 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.791e-05/0.8305, allocations: 8 kB / 1.191 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/0.8308, allocations: 23.92 kB / 1.191 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.8309, allocations: 27.97 kB / 1.191 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.8309, allocations: 8 kB / 1.191 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000634/0.8316, allocations: 475 kB / 1.191 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8316, allocations: 0 / 1.191 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008879/0.8325, allocations: 267.6 kB / 1.192 GB, free: 0.8672 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001171/0.8337, allocations: 0.5023 MB / 1.192 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001102/0.8348, allocations: 0.4911 MB / 1.193 GB, free: 36 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.8348, allocations: 0 / 1.193 GB, free: 36 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.835, allocations: 124.8 kB / 1.193 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.8362, allocations: 266.8 kB / 1.193 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.8379, allocations: 1.172 MB / 1.194 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.8384, allocations: 0.9016 MB / 1.195 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0006858/0.8391, allocations: 168.8 kB / 1.195 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.8392, allocations: 51.42 kB / 1.195 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of SimCode: time 3.8e-07/0.8392, allocations: 0 / 1.195 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of Templates: time 0.01706/0.8563, allocations: 9.706 MB / 1.205 GB, free: 3.715 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 -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","../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches