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.457/2.457, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001127/0.001127, allocations: 185 kB / 498.1 MB, free: 5.758 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.49/1.49, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.000872/0.000872, allocations: 97.38 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003606, allocations: 11.41 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3074, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.477/4.784, allocations: 1.933 GB / 3.155 GB, free: 54.86 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/4.785, allocations: 95.14 kB / 3.155 GB, free: 54.81 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.043/9.828, allocations: 1.053 GB / 4.208 GB, free: 237.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.244e-06/9.828, allocations: 0 / 4.208 GB, free: 237.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003933/9.828, allocations: 48.66 kB / 4.208 GB, free: 237.9 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.009794/9.838, allocations: 2.377 MB / 4.211 GB, free: 236.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.969e-05/9.838, allocations: 6.906 kB / 4.211 GB, free: 236.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004953/9.843, allocations: 0.6367 MB / 4.211 GB, free: 236.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005865/9.849, allocations: 1.45 MB / 4.213 GB, free: 236.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004576/9.849, allocations: 163.6 kB / 4.213 GB, free: 236.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006491/9.85, allocations: 127 kB / 4.213 GB, free: 236.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004906/9.855, allocations: 1.469 MB / 4.214 GB, free: 236.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.839e-05/9.855, allocations: 6.562 kB / 4.214 GB, free: 236.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003226/9.855, allocations: 53.91 kB / 4.214 GB, free: 236.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.367e-05/9.855, allocations: 43.02 kB / 4.215 GB, free: 236.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003406/9.859, allocations: 1.252 MB / 4.216 GB, free: 236.1 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.01078/9.87, allocations: 6.008 MB / 4.222 GB, free: 233.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/9.872, allocations: 1.128 MB / 4.223 GB, free: 233.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005846/9.872, allocations: 309.4 kB / 4.223 GB, free: 233.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001126/9.873, allocations: 0.6191 MB / 4.224 GB, free: 233.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=85): time 4.408e-06/9.873, allocations: 0 / 4.224 GB, free: 233.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=87): time 0.01019/9.883, allocations: 3.483 MB / 4.227 GB, free: 232.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/9.884, allocations: 193.4 kB / 4.227 GB, free: 232 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003654/9.887, allocations: 1.134 MB / 4.228 GB, free: 231.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002475/9.888, allocations: 43.61 kB / 4.228 GB, free: 231.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000975/9.889, allocations: 0.7323 MB / 4.229 GB, free: 231.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004293/9.889, allocations: 295.6 kB / 4.229 GB, free: 231.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/9.889, allocations: 21.16 kB / 4.229 GB, free: 231.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001607/9.889, allocations: 340 kB / 4.23 GB, free: 231.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/9.89, allocations: 447.4 kB / 4.23 GB, free: 231.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/9.892, allocations: 0.6855 MB / 4.231 GB, free: 230.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.01285/9.905, allocations: 2.877 MB / 4.234 GB, free: 230.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/9.905, allocations: 3.812 kB / 4.234 GB, free: 230.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003656/9.908, allocations: 1.377 MB / 4.235 GB, free: 230.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004975/9.909, allocations: 1.472 MB / 4.236 GB, free: 229 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/9.909, allocations: 3.781 kB / 4.236 GB, free: 229 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002447/9.909, allocations: 62.31 kB / 4.236 GB, free: 229 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/9.91, allocations: 209.8 kB / 4.237 GB, free: 229 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004743/9.911, allocations: 0.5893 MB / 4.237 GB, free: 228.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002161/9.913, allocations: 149.9 kB / 4.237 GB, free: 228.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/9.913, allocations: 45.86 kB / 4.237 GB, free: 228.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/9.913, allocations: 6.344 kB / 4.237 GB, free: 228.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00249/9.915, allocations: 1.223 MB / 4.239 GB, free: 228.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/9.915, allocations: 3.625 kB / 4.239 GB, free: 228.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001441/9.916, allocations: 51.88 kB / 4.239 GB, free: 228.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009035/9.917, allocations: 207.1 kB / 4.239 GB, free: 228.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/9.918, allocations: 1.609 MB / 4.24 GB, free: 227 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/9.92, allocations: 155 kB / 4.241 GB, free: 227 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/9.92, allocations: 40.73 kB / 4.241 GB, free: 227 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.001313/9.922, allocations: 0.4965 MB / 4.241 GB, free: 226.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006035/9.922, allocations: 163.6 kB / 4.241 GB, free: 226.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003083/9.925, allocations: 1.344 MB / 4.243 GB, free: 226.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/9.925, allocations: 6.5 kB / 4.243 GB, free: 226.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/9.925, allocations: 0 / 4.243 GB, free: 226.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00214/9.928, allocations: 1.221 MB / 4.244 GB, free: 226.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.007131/9.935, allocations: 3.128 MB / 4.247 GB, free: 225.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/9.935, allocations: 3.688 kB / 4.247 GB, free: 225.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009774/9.936, allocations: 197 kB / 4.247 GB, free: 225.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001861/9.936, allocations: 61.3 kB / 4.247 GB, free: 225.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.43e-05/9.936, allocations: 26.58 kB / 4.247 GB, free: 225.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003831/9.936, allocations: 0.5891 MB / 4.248 GB, free: 225.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/9.936, allocations: 5.656 kB / 4.248 GB, free: 225.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004413/9.941, allocations: 2.336 MB / 4.25 GB, free: 224.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001533/9.942, allocations: 349 kB / 4.25 GB, free: 224.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006996/9.943, allocations: 25.62 kB / 4.25 GB, free: 224.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/9.945, allocations: 137.3 kB / 4.25 GB, free: 224.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/9.945, allocations: 69.72 kB / 4.251 GB, free: 224.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/9.945, allocations: 34.31 kB / 4.251 GB, free: 224.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002601/9.948, allocations: 0.8931 MB / 4.251 GB, free: 224.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.51e-07/9.948, allocations: 0 / 4.251 GB, free: 224.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005777/9.954, allocations: 0.9467 MB / 4.252 GB, free: 224.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.005982/9.96, allocations: 2.378 MB / 4.255 GB, free: 223.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004881/9.965, allocations: 1.968 MB / 4.257 GB, free: 223 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/9.965, allocations: 3.719 kB / 4.257 GB, free: 223 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001355/9.966, allocations: 0.6234 MB / 4.257 GB, free: 223 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005876/9.972, allocations: 0.8132 MB / 4.258 GB, free: 222.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01279/9.985, allocations: 3.928 MB / 4.262 GB, free: 221.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0024/9.987, allocations: 1.367 MB / 4.263 GB, free: 220.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003166/9.991, allocations: 370.8 kB / 4.264 GB, free: 220.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007456/9.991, allocations: 113 kB / 4.264 GB, free: 220.6 MB / 1.167 GB Notification: Performance of SimCode: time 2.494e-06/9.991, allocations: 3.828 kB / 4.264 GB, free: 220.6 MB / 1.167 GB Notification: Performance of Templates: time 0.08937/10.08, allocations: 54.14 MB / 4.317 GB, free: 215.6 MB / 1.167 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