Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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_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_latest_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_latest_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.001185/0.001185, allocations: 99.16 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.001378/0.001378, allocations: 177.3 kB / 15.95 MB, free: 216 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.308/1.308, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.49/2.49, allocations: 436.5 MB / 0.7104 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003204, allocations: 8 kB / 0.8708 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5933/0.5937, allocations: 153.6 MB / 1.021 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic): time 0.1517/0.7454, allocations: 150.3 MB / 1.168 GB, free: 10.55 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005704/0.7511, allocations: 3.652 MB / 1.171 GB, free: 6.891 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004848/0.7517, allocations: 23.81 kB / 1.171 GB, free: 6.867 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.7527, allocations: 418.3 kB / 1.172 GB, free: 6.457 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002278/0.755, allocations: 0.9971 MB / 1.173 GB, free: 5.457 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.7567, allocations: 0.6608 MB / 1.173 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001258/0.758, allocations: 0.8196 MB / 1.174 GB, free: 3.984 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006019/0.7586, allocations: 401 kB / 1.174 GB, free: 3.594 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/0.7601, allocations: 0.7477 MB / 1.175 GB, free: 2.844 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004374/0.7606, allocations: 310.8 kB / 1.175 GB, free: 2.539 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.134e-05/0.7606, allocations: 24 kB / 1.175 GB, free: 2.516 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.7619, allocations: 0.6084 MB / 1.176 GB, free: 1.906 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.762, allocations: 159.5 kB / 1.176 GB, free: 1.75 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.7622, allocations: 145.4 kB / 1.176 GB, free: 1.602 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008848/0.7631, allocations: 0.7249 MB / 1.177 GB, free: 0.875 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.7631, allocations: 0 / 1.177 GB, free: 0.875 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.206e-06/0.7631, allocations: 0 / 1.177 GB, free: 0.875 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.7631, allocations: 3.938 kB / 1.177 GB, free: 0.8711 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.001907/0.765, allocations: 0.9117 MB / 1.178 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.7651, allocations: 11.98 kB / 1.178 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.7664, allocations: 235 kB / 1.178 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008431/0.7673, allocations: 0.5112 MB / 1.179 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.7673, allocations: 33 kB / 1.179 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.326e-05/0.7674, allocations: 39.98 kB / 1.179 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.7684, allocations: 0.5474 MB / 1.179 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.7684, allocations: 3.938 kB / 1.179 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.159e-05/0.7685, allocations: 19.95 kB / 1.179 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.3e-05/0.7685, allocations: 17 kB / 1.179 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.7697, allocations: 0.5113 MB / 1.18 GB, free: 13.92 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.003151/0.7729, allocations: 2.218 MB / 1.182 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006609/0.7735, allocations: 363.9 kB / 1.182 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/0.7747, allocations: 0.6078 MB / 1.183 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003162/0.775, allocations: 194.3 kB / 1.183 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 1.974e-06/0.775, allocations: 0 / 1.183 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28): time 0.001051/0.7761, allocations: 460 kB / 1.184 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.369e-05/0.7762, allocations: 110.8 kB / 1.184 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000965/0.7771, allocations: 0.6447 MB / 1.184 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.7772, allocations: 37.7 kB / 1.184 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/0.7774, allocations: 319.8 kB / 1.185 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-05/0.7775, allocations: 94.66 kB / 1.185 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.128e-05/0.7776, allocations: 4 kB / 1.185 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.7778, allocations: 374.8 kB / 1.185 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000354/0.7781, allocations: 136.8 kB / 1.185 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005033/0.7786, allocations: 294.2 kB / 1.185 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004089/0.7791, allocations: 180.3 kB / 1.186 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.7791, allocations: 4 kB / 1.186 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001066/0.7801, allocations: 494.5 kB / 1.186 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005948/0.7808, allocations: 1.568 MB / 1.188 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.7808, allocations: 4 kB / 1.188 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.7808, allocations: 8 kB / 1.188 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/0.7812, allocations: 99.83 kB / 1.188 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.7813, allocations: 4 kB / 1.188 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006736/0.7819, allocations: 91.41 kB / 1.188 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.524e-05/0.782, allocations: 20 kB / 1.188 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.782, allocations: 4 kB / 1.188 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000892/0.7829, allocations: 418.9 kB / 1.188 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.7829, allocations: 4 kB / 1.188 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.663e-06/0.7829, allocations: 4 kB / 1.188 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.7833, allocations: 91.89 kB / 1.188 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.7834, allocations: 15.88 kB / 1.188 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005161/0.7839, allocations: 71.72 kB / 1.188 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.7839, allocations: 19.98 kB / 1.188 GB, free: 4.465 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 (47): * Single equations (assignments): 47 * 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.0003021/0.7842, allocations: 290.7 kB / 1.189 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.666e-05/0.7843, allocations: 63.25 kB / 1.189 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006108/0.7849, allocations: 327.7 kB / 1.189 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.785, allocations: 7.938 kB / 1.189 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.785, allocations: 3.953 kB / 1.189 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.785, allocations: 0 / 1.189 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.7866, allocations: 1.188 MB / 1.19 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.7866, allocations: 4 kB / 1.19 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.7868, allocations: 39.92 kB / 1.19 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.7868, allocations: 4 kB / 1.19 GB, free: 2.441 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.7869, allocations: 12 kB / 1.19 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.7869, allocations: 7.984 kB / 1.19 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.7869, allocations: 0 / 1.19 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008534/0.7878, allocations: 0.7354 MB / 1.191 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002291/0.788, allocations: 172.2 kB / 1.191 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.619e-05/0.7881, allocations: 11.98 kB / 1.191 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003831/0.7885, allocations: 24.05 kB / 1.191 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.7885, allocations: 28.09 kB / 1.191 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.7886, allocations: 12 kB / 1.191 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006324/0.7892, allocations: 467 kB / 1.192 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7892, allocations: 4 kB / 1.192 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009026/0.7901, allocations: 279.5 kB / 1.192 GB, free: 0.5859 MB / 0.9356 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 (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.001163/0.7913, allocations: 0.5035 MB / 1.193 GB, free: 248 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0012/0.7925, allocations: 0.5117 MB / 1.193 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.7925, allocations: 9 kB / 1.193 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002192/0.7928, allocations: 128 kB / 1.193 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.794, allocations: 268.3 kB / 1.193 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.7959, allocations: 1.338 MB / 1.195 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.7964, allocations: 0.9059 MB / 1.196 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0006943/0.7971, allocations: 172.9 kB / 1.196 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.7972, allocations: 51.36 kB / 1.196 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of SimCode: time 6.41e-07/0.7972, allocations: 0 / 1.196 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of Templates: time 0.01701/0.8142, allocations: 9.94 MB / 1.206 GB, free: 2.996 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.csv","../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches