Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.49/2.49, allocations: 387.1 MB / 399.7 MB, free: 9.457 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.001202/0.001202, allocations: 169 kB / 492.3 MB, free: 0.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.616/1.616, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0009516/0.0009513, allocations: 91.95 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.269e-05/3.269e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2957, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.887/6.183, allocations: 1.932 GB / 3.145 GB, free: 338.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/6.183, allocations: 87.27 kB / 3.145 GB, free: 338.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.564/9.747, allocations: 1.052 GB / 4.197 GB, free: 148.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.684e-06/9.748, allocations: 0 / 4.197 GB, free: 148.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001731/9.748, allocations: 47.98 kB / 4.197 GB, free: 148.2 MB / 1.151 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.004522/9.752, allocations: 2.061 MB / 4.199 GB, free: 146.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/9.752, allocations: 8.031 kB / 4.199 GB, free: 146.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003884/9.756, allocations: 0.6298 MB / 4.199 GB, free: 145.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003101/9.759, allocations: 1.445 MB / 4.201 GB, free: 143.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003517/9.76, allocations: 158.2 kB / 4.201 GB, free: 143.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001965/9.76, allocations: 124 kB / 4.201 GB, free: 143.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/9.762, allocations: 1.365 MB / 4.202 GB, free: 142.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/9.762, allocations: 7.938 kB / 4.202 GB, free: 142.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/9.762, allocations: 51.98 kB / 4.202 GB, free: 142.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.956e-05/9.762, allocations: 46.25 kB / 4.202 GB, free: 142.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/9.764, allocations: 1.048 MB / 4.203 GB, free: 141.1 MB / 1.151 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.007587/9.771, allocations: 6.019 MB / 4.209 GB, free: 134.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/9.772, allocations: 0.9543 MB / 4.21 GB, free: 133.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005483/9.773, allocations: 479.7 kB / 4.211 GB, free: 133.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004957/9.774, allocations: 320 kB / 4.211 GB, free: 132.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006788/9.774, allocations: 0.5185 MB / 4.212 GB, free: 132.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=85): time 3.496e-06/9.774, allocations: 0 / 4.212 GB, free: 132.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=87): time 0.004546/9.779, allocations: 2.457 MB / 4.214 GB, free: 129.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/9.779, allocations: 192.7 kB / 4.214 GB, free: 129.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/9.78, allocations: 1.114 MB / 4.215 GB, free: 128.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.409e-05/9.78, allocations: 49.64 kB / 4.215 GB, free: 128.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000497/9.781, allocations: 0.725 MB / 4.216 GB, free: 127.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/9.781, allocations: 299.7 kB / 4.216 GB, free: 127.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/9.781, allocations: 24 kB / 4.216 GB, free: 127.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.841e-05/9.781, allocations: 345.5 kB / 4.217 GB, free: 127 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004614/9.782, allocations: 353.8 kB / 4.217 GB, free: 126.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000575/9.782, allocations: 0.5751 MB / 4.218 GB, free: 126 MB / 1.151 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.009772/9.792, allocations: 2.604 MB / 4.22 GB, free: 123.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/9.792, allocations: 0 / 4.22 GB, free: 123.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001978/9.794, allocations: 1.172 MB / 4.221 GB, free: 122.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002698/9.794, allocations: 1.472 MB / 4.223 GB, free: 120.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/9.794, allocations: 4 kB / 4.223 GB, free: 120.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001751/9.794, allocations: 52.77 kB / 4.223 GB, free: 120.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008662/9.795, allocations: 219.6 kB / 4.223 GB, free: 120.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003426/9.796, allocations: 0.5836 MB / 4.223 GB, free: 119.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/9.797, allocations: 147.8 kB / 4.224 GB, free: 119.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.943e-05/9.798, allocations: 39.98 kB / 4.224 GB, free: 119.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/9.798, allocations: 5.094 kB / 4.224 GB, free: 119.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001466/9.799, allocations: 1.028 MB / 4.225 GB, free: 118.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/9.799, allocations: 4 kB / 4.225 GB, free: 118.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001259/9.799, allocations: 48.83 kB / 4.225 GB, free: 118.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008035/9.8, allocations: 212.2 kB / 4.225 GB, free: 118.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/9.801, allocations: 1.603 MB / 4.226 GB, free: 116.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/9.803, allocations: 151.8 kB / 4.227 GB, free: 116.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/9.803, allocations: 36 kB / 4.227 GB, free: 116.2 MB / 1.151 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.0003373/9.804, allocations: 194.5 kB / 4.227 GB, free: 116 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004892/9.804, allocations: 162 kB / 4.227 GB, free: 115.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002523/9.807, allocations: 1.148 MB / 4.228 GB, free: 114.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/9.807, allocations: 15.89 kB / 4.228 GB, free: 114.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/9.807, allocations: 4 kB / 4.228 GB, free: 114.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001547/9.808, allocations: 1.013 MB / 4.229 GB, free: 113.6 MB / 1.151 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.006642/9.815, allocations: 2.946 MB / 4.232 GB, free: 110.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/9.815, allocations: 4 kB / 4.232 GB, free: 110.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000952/9.816, allocations: 196.2 kB / 4.232 GB, free: 110.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001645/9.816, allocations: 56.77 kB / 4.232 GB, free: 110.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.82e-05/9.816, allocations: 27.98 kB / 4.232 GB, free: 110.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003659/9.816, allocations: 0.5874 MB / 4.233 GB, free: 109.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/9.816, allocations: 7.938 kB / 4.233 GB, free: 109.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002714/9.819, allocations: 2.044 MB / 4.235 GB, free: 107.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/9.82, allocations: 343.2 kB / 4.235 GB, free: 107.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006017/9.821, allocations: 27.98 kB / 4.235 GB, free: 107 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/9.823, allocations: 143.7 kB / 4.235 GB, free: 106.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/9.823, allocations: 60.39 kB / 4.235 GB, free: 106.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.842e-05/9.823, allocations: 31.98 kB / 4.235 GB, free: 106.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001617/9.825, allocations: 0.8733 MB / 4.236 GB, free: 105.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/9.825, allocations: 0 / 4.236 GB, free: 105.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004422/9.829, allocations: 0.9515 MB / 4.237 GB, free: 105 MB / 1.151 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.004122/9.833, allocations: 2.369 MB / 4.24 GB, free: 102.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002748/9.836, allocations: 1.721 MB / 4.241 GB, free: 100.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/9.836, allocations: 1.375 kB / 4.241 GB, free: 100.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007137/9.837, allocations: 0.538 MB / 4.242 GB, free: 100.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004287/9.841, allocations: 0.8154 MB / 4.243 GB, free: 99.33 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006484/9.848, allocations: 2.613 MB / 4.245 GB, free: 96.62 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009319/9.849, allocations: 1.378 MB / 4.246 GB, free: 95.21 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002586/9.851, allocations: 0.4962 MB / 4.247 GB, free: 94.71 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003178/9.851, allocations: 93.06 kB / 4.247 GB, free: 94.62 MB / 1.151 GB Notification: Performance of SimCode: time 1.072e-06/9.851, allocations: 4 kB / 4.247 GB, free: 94.62 MB / 1.151 GB Notification: Performance of Templates: time 0.08181/9.933, allocations: 62.7 MB / 4.308 GB, free: 32.09 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.makefile (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & ./Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Humidifiers_Examples_Humidifier_u.csv","../files/Buildings_9_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches