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.109/2.109, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001034/0.001034, allocations: 188.7 kB / 487.4 MB, free: 5.039 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.455/1.455, allocations: 221.5 MB / 0.7824 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008706/0.0008706, allocations: 99.8 kB / 0.9219 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.53e-05/1.534e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2625, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.253/5.515, allocations: 1.932 GB / 3.138 GB, free: 348.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/5.516, allocations: 84.59 kB / 3.138 GB, free: 348.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.063/8.578, allocations: 1.041 GB / 4.179 GB, free: 186.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.483e-06/8.578, allocations: 4 kB / 4.179 GB, free: 186.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002211/8.579, allocations: 42.66 kB / 4.179 GB, free: 186.6 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.004909/8.584, allocations: 2.067 MB / 4.181 GB, free: 184.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/8.584, allocations: 19.05 kB / 4.181 GB, free: 184.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003928/8.588, allocations: 0.6303 MB / 4.181 GB, free: 183.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003327/8.591, allocations: 1.438 MB / 4.183 GB, free: 182.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003323/8.591, allocations: 120.2 kB / 4.183 GB, free: 182.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/8.591, allocations: 72 kB / 4.183 GB, free: 182.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001655/8.593, allocations: 0.977 MB / 4.184 GB, free: 181.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/8.595, allocations: 1.2 MB / 4.185 GB, free: 180 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/8.595, allocations: 6.812 kB / 4.185 GB, free: 180 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/8.595, allocations: 7.953 kB / 4.185 GB, free: 180 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.142e-05/8.595, allocations: 42.27 kB / 4.185 GB, free: 179.9 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.006759/8.602, allocations: 5.756 MB / 4.191 GB, free: 174 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009105/8.603, allocations: 0.9243 MB / 4.192 GB, free: 173 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004699/8.603, allocations: 447.7 kB / 4.192 GB, free: 172.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004806/8.604, allocations: 314.4 kB / 4.192 GB, free: 172.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005804/8.604, allocations: 0.4927 MB / 4.193 GB, free: 171.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=85): time 2.705e-06/8.604, allocations: 0 / 4.193 GB, free: 171.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=87): time 0.004639/8.609, allocations: 2.422 MB / 4.195 GB, free: 169.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/8.609, allocations: 196.7 kB / 4.195 GB, free: 169 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/8.61, allocations: 0.9135 MB / 4.196 GB, free: 168.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.817e-05/8.61, allocations: 29.7 kB / 4.196 GB, free: 168 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005137/8.611, allocations: 0.7506 MB / 4.197 GB, free: 167.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/8.611, allocations: 286.7 kB / 4.197 GB, free: 167 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/8.611, allocations: 0 / 4.197 GB, free: 167 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.652e-05/8.611, allocations: 341.9 kB / 4.198 GB, free: 166.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004064/8.611, allocations: 334.5 kB / 4.198 GB, free: 166.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005657/8.612, allocations: 0.5686 MB / 4.199 GB, free: 165.7 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.003494/8.616, allocations: 1.552 MB / 4.2 GB, free: 164.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/8.616, allocations: 4 kB / 4.2 GB, free: 164.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001822/8.617, allocations: 1.139 MB / 4.201 GB, free: 163 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002475/8.618, allocations: 1.46 MB / 4.203 GB, free: 161.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/8.618, allocations: 4 kB / 4.203 GB, free: 161.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001391/8.618, allocations: 48.78 kB / 4.203 GB, free: 161.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000857/8.619, allocations: 211.8 kB / 4.203 GB, free: 161.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003243/8.619, allocations: 0.5991 MB / 4.203 GB, free: 160.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/8.62, allocations: 127.8 kB / 4.204 GB, free: 160.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.59e-05/8.621, allocations: 39.98 kB / 4.204 GB, free: 160.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/8.621, allocations: 4 kB / 4.204 GB, free: 160.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001468/8.622, allocations: 0.9559 MB / 4.205 GB, free: 159.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/8.622, allocations: 4 kB / 4.205 GB, free: 159.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001161/8.622, allocations: 49.3 kB / 4.205 GB, free: 159.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007992/8.623, allocations: 211.8 kB / 4.205 GB, free: 159.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/8.624, allocations: 1.544 MB / 4.206 GB, free: 157.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/8.626, allocations: 127.8 kB / 4.206 GB, free: 157.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.76e-05/8.626, allocations: 39.98 kB / 4.206 GB, free: 157.4 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.0003149/8.626, allocations: 166.4 kB / 4.207 GB, free: 157.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/8.626, allocations: 154.2 kB / 4.207 GB, free: 157 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00195/8.628, allocations: 1.097 MB / 4.208 GB, free: 155.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/8.628, allocations: 8 kB / 4.208 GB, free: 155.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/8.628, allocations: 4 kB / 4.208 GB, free: 155.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001273/8.63, allocations: 0.9878 MB / 4.209 GB, free: 154.9 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.003865/8.633, allocations: 2.746 MB / 4.211 GB, free: 152 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/8.633, allocations: 15.95 kB / 4.212 GB, free: 152 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008534/8.634, allocations: 191.7 kB / 4.212 GB, free: 151.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.646e-05/8.634, allocations: 48.84 kB / 4.212 GB, free: 151.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.648e-05/8.635, allocations: 11.98 kB / 4.212 GB, free: 151.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000261/8.635, allocations: 0.5913 MB / 4.212 GB, free: 151.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/8.635, allocations: 4 kB / 4.212 GB, free: 151.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/8.637, allocations: 1.976 MB / 4.214 GB, free: 149 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005485/8.637, allocations: 338.9 kB / 4.215 GB, free: 148.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/8.638, allocations: 15.5 kB / 4.215 GB, free: 148.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/8.639, allocations: 123.9 kB / 4.215 GB, free: 148.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/8.639, allocations: 60.39 kB / 4.215 GB, free: 148.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.851e-05/8.639, allocations: 39.97 kB / 4.215 GB, free: 148.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007984/8.64, allocations: 0.6992 MB / 4.215 GB, free: 147.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/8.64, allocations: 0 / 4.215 GB, free: 147.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002568/8.642, allocations: 0.8318 MB / 4.216 GB, free: 146.9 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.002899/8.645, allocations: 2.611 MB / 4.219 GB, free: 144.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00199/8.647, allocations: 1.641 MB / 4.22 GB, free: 142.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/8.647, allocations: 0 / 4.22 GB, free: 142.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005339/8.648, allocations: 0.5106 MB / 4.221 GB, free: 142.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00304/8.651, allocations: 0.7161 MB / 4.222 GB, free: 141.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005162/8.656, allocations: 2.564 MB / 4.224 GB, free: 138.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006997/8.657, allocations: 1.374 MB / 4.225 GB, free: 137.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001896/8.659, allocations: 458.3 kB / 4.226 GB, free: 137.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000232/8.659, allocations: 87.42 kB / 4.226 GB, free: 137 MB / 1.151 GB Notification: Performance of SimCode: time 1.262e-06/8.659, allocations: 0 / 4.226 GB, free: 137 MB / 1.151 GB Notification: Performance of Templates: time 0.05407/8.713, allocations: 39.52 MB / 4.265 GB, free: 97.83 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