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.229/2.229, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001262/0.001261, allocations: 191.9 kB / 0.4902 GB, free: 2.309 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.558/1.558, allocations: 223.2 MB / 0.7992 GB, free: 14.75 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.0009012/0.0009012, allocations: 105.1 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.0003892, allocations: 7.688 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2895, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.711/5.001, allocations: 1.933 GB / 3.162 GB, free: 19.22 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/5.001, allocations: 91.19 kB / 3.163 GB, free: 19.17 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.853/9.854, allocations: 1.053 GB / 4.215 GB, free: 230 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.608e-06/9.854, allocations: 0 / 4.215 GB, free: 230 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004872/9.855, allocations: 44.41 kB / 4.215 GB, free: 230 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.01202/9.867, allocations: 2.384 MB / 4.218 GB, free: 228.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.264e-05/9.867, allocations: 11.25 kB / 4.218 GB, free: 228.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005274/9.872, allocations: 0.6242 MB / 4.218 GB, free: 228.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005572/9.878, allocations: 1.457 MB / 4.22 GB, free: 228.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004451/9.878, allocations: 154.1 kB / 4.22 GB, free: 228.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006664/9.879, allocations: 128.8 kB / 4.22 GB, free: 228.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004815/9.884, allocations: 1.48 MB / 4.222 GB, free: 228.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-05/9.884, allocations: 3.609 kB / 4.222 GB, free: 228.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000301/9.884, allocations: 51.97 kB / 4.222 GB, free: 228.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.105e-05/9.884, allocations: 39.2 kB / 4.222 GB, free: 228.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003258/9.887, allocations: 1.259 MB / 4.223 GB, free: 228.2 MB / 1.167 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.01136/9.899, allocations: 6.009 MB / 4.229 GB, free: 225.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002013/9.901, allocations: 1.124 MB / 4.23 GB, free: 225.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006182/9.901, allocations: 314.3 kB / 4.23 GB, free: 225.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00125/9.903, allocations: 0.6175 MB / 4.231 GB, free: 225.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=85): time 4.388e-06/9.903, allocations: 0 / 4.231 GB, free: 225.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=87): time 0.009246/9.912, allocations: 3.48 MB / 4.234 GB, free: 224.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.896e-05/9.912, allocations: 194.8 kB / 4.234 GB, free: 224.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002741/9.915, allocations: 1.126 MB / 4.235 GB, free: 223.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001842/9.915, allocations: 48.02 kB / 4.235 GB, free: 223.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008537/9.916, allocations: 0.7303 MB / 4.236 GB, free: 223.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003541/9.916, allocations: 303.3 kB / 4.236 GB, free: 223.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.213e-05/9.916, allocations: 19.88 kB / 4.237 GB, free: 223.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.894e-05/9.916, allocations: 338.9 kB / 4.237 GB, free: 223.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009585/9.917, allocations: 447.9 kB / 4.237 GB, free: 223.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/9.919, allocations: 0.679 MB / 4.238 GB, free: 222.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.01312/9.932, allocations: 2.874 MB / 4.241 GB, free: 222.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/9.932, allocations: 0 / 4.241 GB, free: 222.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004182/9.936, allocations: 1.377 MB / 4.242 GB, free: 222.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000696/9.937, allocations: 1.482 MB / 4.244 GB, free: 221 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.536e-05/9.937, allocations: 3.906 kB / 4.244 GB, free: 221 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003394/9.937, allocations: 52.97 kB / 4.244 GB, free: 221 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/9.938, allocations: 212.6 kB / 4.244 GB, free: 221 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007306/9.939, allocations: 0.5904 MB / 4.244 GB, free: 220.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002873/9.942, allocations: 151.8 kB / 4.244 GB, free: 220.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002758/9.942, allocations: 43.28 kB / 4.245 GB, free: 220.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/9.942, allocations: 3.906 kB / 4.245 GB, free: 220.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003206/9.946, allocations: 1.221 MB / 4.246 GB, free: 220.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/9.946, allocations: 9.656 kB / 4.246 GB, free: 220.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002061/9.946, allocations: 48.81 kB / 4.246 GB, free: 220.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/9.947, allocations: 206.7 kB / 4.246 GB, free: 220.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002508/9.949, allocations: 1.616 MB / 4.248 GB, free: 219 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002717/9.952, allocations: 148.7 kB / 4.248 GB, free: 219 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/9.952, allocations: 40.92 kB / 4.248 GB, free: 219 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 () * Number of clocked 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.001983/9.954, allocations: 0.4977 MB / 4.248 GB, free: 218.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008919/9.955, allocations: 160.1 kB / 4.248 GB, free: 218.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004232/9.96, allocations: 1.352 MB / 4.25 GB, free: 218.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/9.96, allocations: 11.53 kB / 4.25 GB, free: 218.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/9.96, allocations: 0 / 4.25 GB, free: 218.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002753/9.962, allocations: 1.218 MB / 4.251 GB, free: 218.3 MB / 1.167 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 postOpt removeSimpleEquations (simulation): time 0.00886/9.971, allocations: 3.132 MB / 4.254 GB, free: 217.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/9.971, allocations: 3.812 kB / 4.254 GB, free: 217.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/9.972, allocations: 200.9 kB / 4.254 GB, free: 217.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001692/9.972, allocations: 42.81 kB / 4.254 GB, free: 217.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.685e-05/9.973, allocations: 29.48 kB / 4.254 GB, free: 217.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003527/9.973, allocations: 0.587 MB / 4.255 GB, free: 217.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/9.973, allocations: 7.219 kB / 4.255 GB, free: 217.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004223/9.977, allocations: 2.338 MB / 4.257 GB, free: 216.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001403/9.979, allocations: 345.6 kB / 4.257 GB, free: 216.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006406/9.979, allocations: 26.38 kB / 4.257 GB, free: 216.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001831/9.981, allocations: 145.6 kB / 4.258 GB, free: 216.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/9.981, allocations: 66.97 kB / 4.258 GB, free: 216.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.841e-05/9.981, allocations: 37.92 kB / 4.258 GB, free: 216.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002037/9.983, allocations: 0.8893 MB / 4.259 GB, free: 216.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/9.983, allocations: 3.938 kB / 4.259 GB, free: 216.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004954/9.988, allocations: 0.9397 MB / 4.259 GB, free: 216.1 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) * Number of clocked states: 0 () * 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.004659/9.993, allocations: 2.363 MB / 4.262 GB, free: 215.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004332/9.997, allocations: 1.967 MB / 4.264 GB, free: 215 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/9.997, allocations: 3.875 kB / 4.264 GB, free: 215 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/9.999, allocations: 0.6285 MB / 4.264 GB, free: 215 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004578/10, allocations: 0.8182 MB / 4.265 GB, free: 214.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00944/10.01, allocations: 3.928 MB / 4.269 GB, free: 213.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001384/10.01, allocations: 1.371 MB / 4.27 GB, free: 212.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002293/10.02, allocations: 377.8 kB / 4.271 GB, free: 212.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005458/10.02, allocations: 109.5 kB / 4.271 GB, free: 212.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.183e-06/10.02, allocations: 0 / 4.271 GB, free: 212.6 MB / 1.167 GB Notification: Performance of Templates: time 0.08323/10.1, allocations: 54.16 MB / 4.324 GB, free: 180.9 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