Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con1.u_s|con1.u_m|con2.u_m|con1.y|con2.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con1.u_s|con1.u_m|con2.u_m|con1.y|con2.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.257/2.257, allocations: 390.3 MB / 402.8 MB, free: 6.707 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 175.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 221.3 MB / 0.7915 GB, free: 5.352 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 88 kB / 0.9317 GB, free: 5.664 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.084e-05/4.086e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3092, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.792/6.101, allocations: 1.933 GB / 3.152 GB, free: 380.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/6.101, allocations: 87.94 kB / 3.152 GB, free: 380.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.623/9.724, allocations: 1.052 GB / 4.204 GB, free: 197.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.232e-06/9.724, allocations: 2 kB / 4.204 GB, free: 197.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001753/9.725, allocations: 50.56 kB / 4.204 GB, free: 197.8 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.004198/9.729, allocations: 2.065 MB / 4.206 GB, free: 195.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/9.729, allocations: 12.03 kB / 4.206 GB, free: 195.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004225/9.733, allocations: 0.6297 MB / 4.207 GB, free: 195.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003736/9.737, allocations: 1.445 MB / 4.208 GB, free: 193.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003709/9.737, allocations: 158.7 kB / 4.208 GB, free: 193.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/9.738, allocations: 125.9 kB / 4.208 GB, free: 193.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/9.74, allocations: 1.362 MB / 4.21 GB, free: 192 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/9.74, allocations: 3.938 kB / 4.21 GB, free: 191.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/9.74, allocations: 56 kB / 4.21 GB, free: 191.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.923e-05/9.74, allocations: 45.5 kB / 4.21 GB, free: 191.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/9.742, allocations: 1.051 MB / 4.211 GB, free: 190.8 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.008125/9.75, allocations: 6.003 MB / 4.217 GB, free: 184.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/9.751, allocations: 0.9568 MB / 4.217 GB, free: 183.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005662/9.752, allocations: 480 kB / 4.218 GB, free: 183.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005145/9.752, allocations: 307.1 kB / 4.218 GB, free: 182.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007239/9.753, allocations: 0.5292 MB / 4.219 GB, free: 182.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=85): time 3.717e-06/9.753, allocations: 192 / 4.219 GB, free: 182.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=87): time 0.004827/9.758, allocations: 2.451 MB / 4.221 GB, free: 179.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/9.758, allocations: 191.7 kB / 4.221 GB, free: 179.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/9.759, allocations: 1.114 MB / 4.222 GB, free: 178.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001408/9.76, allocations: 45.7 kB / 4.222 GB, free: 178.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005269/9.76, allocations: 0.7356 MB / 4.223 GB, free: 177.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/9.76, allocations: 298.7 kB / 4.223 GB, free: 177.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/9.76, allocations: 19.44 kB / 4.223 GB, free: 177.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.104e-05/9.76, allocations: 337.9 kB / 4.224 GB, free: 176.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004897/9.761, allocations: 353.8 kB / 4.224 GB, free: 176.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006054/9.762, allocations: 0.5852 MB / 4.225 GB, free: 175.9 MB / 1.167 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start (sin.p = humDyn.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/9.772, allocations: 2.59 MB / 4.227 GB, free: 173.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/9.772, allocations: 0 / 4.227 GB, free: 173.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002156/9.774, allocations: 1.17 MB / 4.228 GB, free: 172.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003412/9.774, allocations: 1.478 MB / 4.23 GB, free: 170.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/9.774, allocations: 4 kB / 4.23 GB, free: 170.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001991/9.774, allocations: 60.77 kB / 4.23 GB, free: 170.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009361/9.775, allocations: 215.7 kB / 4.23 GB, free: 170.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003371/9.776, allocations: 0.5874 MB / 4.231 GB, free: 169.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/9.777, allocations: 155.8 kB / 4.231 GB, free: 169.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.279e-05/9.778, allocations: 40 kB / 4.231 GB, free: 169.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/9.778, allocations: 4 kB / 4.231 GB, free: 169.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001445/9.779, allocations: 1.024 MB / 4.232 GB, free: 168.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/9.779, allocations: 4 kB / 4.232 GB, free: 168.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001216/9.779, allocations: 51.89 kB / 4.232 GB, free: 168.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008043/9.78, allocations: 208.1 kB / 4.232 GB, free: 168.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/9.781, allocations: 1.6 MB / 4.234 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/9.783, allocations: 155.8 kB / 4.234 GB, free: 166.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-05/9.783, allocations: 32 kB / 4.234 GB, free: 166.2 MB / 1.167 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002912/9.783, allocations: 204.3 kB / 4.234 GB, free: 166 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/9.784, allocations: 162 kB / 4.234 GB, free: 165.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/9.785, allocations: 1.14 MB / 4.235 GB, free: 164.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/9.785, allocations: 15.95 kB / 4.235 GB, free: 164.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/9.786, allocations: 0 / 4.235 GB, free: 164.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001203/9.787, allocations: 1.028 MB / 4.236 GB, free: 163.6 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.004347/9.791, allocations: 2.932 MB / 4.239 GB, free: 160.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/9.791, allocations: 4 kB / 4.239 GB, free: 160.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008773/9.792, allocations: 196.2 kB / 4.239 GB, free: 160.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001356/9.792, allocations: 57.97 kB / 4.239 GB, free: 160.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.465e-05/9.792, allocations: 31.98 kB / 4.239 GB, free: 160.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002751/9.792, allocations: 0.5875 MB / 4.24 GB, free: 159.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/9.792, allocations: 4 kB / 4.24 GB, free: 159.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/9.795, allocations: 2.044 MB / 4.242 GB, free: 157.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007729/9.796, allocations: 343.1 kB / 4.242 GB, free: 157.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001906/9.796, allocations: 24 kB / 4.242 GB, free: 157.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/9.797, allocations: 143.7 kB / 4.242 GB, free: 156.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/9.797, allocations: 56.39 kB / 4.243 GB, free: 156.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-05/9.797, allocations: 43.97 kB / 4.243 GB, free: 156.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001101/9.798, allocations: 0.8771 MB / 4.243 GB, free: 156 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/9.798, allocations: 0 / 4.243 GB, free: 156 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003229/9.801, allocations: 0.94 MB / 4.244 GB, free: 155 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.medium.Xi[1],humDyn.vol.dynBal.U,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003418/9.805, allocations: 2.374 MB / 4.247 GB, free: 152.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002449/9.807, allocations: 1.721 MB / 4.248 GB, free: 151 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/9.807, allocations: 5.25 kB / 4.248 GB, free: 151 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006367/9.808, allocations: 0.5343 MB / 4.249 GB, free: 150.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003894/9.812, allocations: 0.815 MB / 4.25 GB, free: 149.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005591/9.818, allocations: 2.633 MB / 4.252 GB, free: 147 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006437/9.818, allocations: 1.378 MB / 4.254 GB, free: 145.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002166/9.82, allocations: 0.5045 MB / 4.254 GB, free: 145.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002641/9.821, allocations: 83.42 kB / 4.254 GB, free: 145 MB / 1.167 GB Notification: Performance of SimCode: time 8.01e-07/9.821, allocations: 0 / 4.254 GB, free: 145 MB / 1.167 GB Notification: Performance of Templates: time 0.07812/9.899, allocations: 62.7 MB / 4.315 GB, free: 82.61 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Examples_Humidifier_u.csv","../files/Buildings_latest_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches