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.321/2.321, allocations: 390.5 MB / 398 MB, free: 10.93 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.001074/0.001074, allocations: 179.8 kB / 491.2 MB, free: 1.57 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.568/1.568, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.000962/0.000962, allocations: 99.52 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.566e-05/1.569e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3301, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.835/6.165, allocations: 1.933 GB / 3.145 GB, free: 396.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/6.165, allocations: 83.95 kB / 3.145 GB, free: 396.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.622/9.787, allocations: 1.041 GB / 4.186 GB, free: 195.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.112e-06/9.787, allocations: 0 / 4.186 GB, free: 195.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003121/9.787, allocations: 46.12 kB / 4.186 GB, free: 195.1 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.005688/9.793, allocations: 2.074 MB / 4.188 GB, free: 193.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/9.793, allocations: 8.031 kB / 4.188 GB, free: 193.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004295/9.797, allocations: 0.6244 MB / 4.188 GB, free: 192.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003874/9.801, allocations: 1.443 MB / 4.19 GB, free: 191.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003738/9.802, allocations: 116 kB / 4.19 GB, free: 191 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000416/9.802, allocations: 79.83 kB / 4.19 GB, free: 191 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002277/9.804, allocations: 0.9887 MB / 4.191 GB, free: 190 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002575/9.807, allocations: 1.193 MB / 4.192 GB, free: 188.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.754e-05/9.807, allocations: 14.64 kB / 4.192 GB, free: 188.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000171/9.807, allocations: 0 / 4.192 GB, free: 188.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.907e-05/9.807, allocations: 42.27 kB / 4.192 GB, free: 188.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 preOpt removeSimpleEquations (simulation): time 0.00908/9.816, allocations: 5.747 MB / 4.198 GB, free: 182.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/9.818, allocations: 0.9221 MB / 4.199 GB, free: 181.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006981/9.818, allocations: 455.3 kB / 4.199 GB, free: 181.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007632/9.819, allocations: 310.7 kB / 4.2 GB, free: 180.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007917/9.82, allocations: 0.498 MB / 4.2 GB, free: 180.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=85): time 5.851e-06/9.82, allocations: 0 / 4.2 GB, free: 180.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=87): time 0.006467/9.826, allocations: 2.419 MB / 4.202 GB, free: 177.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.704e-05/9.827, allocations: 188.7 kB / 4.203 GB, free: 177.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/9.828, allocations: 0.9251 MB / 4.203 GB, free: 176.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001323/9.828, allocations: 29.7 kB / 4.203 GB, free: 176.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006019/9.829, allocations: 0.7435 MB / 4.204 GB, free: 176 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002988/9.829, allocations: 290.4 kB / 4.204 GB, free: 175.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/9.829, allocations: 7.969 kB / 4.204 GB, free: 175.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001006/9.829, allocations: 334 kB / 4.205 GB, free: 175.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000443/9.83, allocations: 338.5 kB / 4.205 GB, free: 175 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005441/9.83, allocations: 0.5609 MB / 4.206 GB, free: 174.4 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.003678/9.834, allocations: 1.557 MB / 4.207 GB, free: 172.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/9.834, allocations: 0 / 4.207 GB, free: 172.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002078/9.836, allocations: 1.139 MB / 4.208 GB, free: 171.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002852/9.836, allocations: 1.46 MB / 4.21 GB, free: 170.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/9.837, allocations: 4 kB / 4.21 GB, free: 170.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001478/9.837, allocations: 48.84 kB / 4.21 GB, free: 170.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008728/9.838, allocations: 210.5 kB / 4.21 GB, free: 169.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003519/9.838, allocations: 0.6069 MB / 4.211 GB, free: 169.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/9.84, allocations: 132.4 kB / 4.211 GB, free: 169.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.505e-05/9.84, allocations: 39.98 kB / 4.211 GB, free: 169.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/9.84, allocations: 4 kB / 4.211 GB, free: 169.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001556/9.841, allocations: 0.9578 MB / 4.212 GB, free: 168.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/9.841, allocations: 0 / 4.212 GB, free: 168.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001264/9.842, allocations: 48.83 kB / 4.212 GB, free: 168.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008271/9.842, allocations: 207.3 kB / 4.212 GB, free: 167.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/9.844, allocations: 1.535 MB / 4.213 GB, free: 166.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/9.845, allocations: 131.6 kB / 4.214 GB, free: 166.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.123e-05/9.845, allocations: 40.19 kB / 4.214 GB, free: 166.1 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.0002844/9.846, allocations: 173.5 kB / 4.214 GB, free: 165.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/9.846, allocations: 150.2 kB / 4.214 GB, free: 165.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/9.848, allocations: 1.099 MB / 4.215 GB, free: 164.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/9.848, allocations: 8 kB / 4.215 GB, free: 164.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/9.848, allocations: 6.312 kB / 4.215 GB, free: 164.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001302/9.849, allocations: 0.9801 MB / 4.216 GB, free: 163.7 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.004293/9.853, allocations: 2.749 MB / 4.219 GB, free: 160.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/9.853, allocations: 4 kB / 4.219 GB, free: 160.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000881/9.854, allocations: 202.3 kB / 4.219 GB, free: 160.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001059/9.854, allocations: 40.84 kB / 4.219 GB, free: 160.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.073e-05/9.854, allocations: 19.98 kB / 4.219 GB, free: 160.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002714/9.855, allocations: 0.5872 MB / 4.219 GB, free: 160 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/9.855, allocations: 11.33 kB / 4.219 GB, free: 159.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002296/9.857, allocations: 1.971 MB / 4.221 GB, free: 157.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006579/9.858, allocations: 335.1 kB / 4.222 GB, free: 157.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/9.858, allocations: 15.98 kB / 4.222 GB, free: 157.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/9.859, allocations: 124 kB / 4.222 GB, free: 157.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/9.859, allocations: 64.39 kB / 4.222 GB, free: 157.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.798e-05/9.859, allocations: 35.98 kB / 4.222 GB, free: 157.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008754/9.86, allocations: 0.7061 MB / 4.223 GB, free: 156.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/9.86, allocations: 3.938 kB / 4.223 GB, free: 156.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002646/9.863, allocations: 0.8201 MB / 4.223 GB, free: 155.7 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.003342/9.866, allocations: 2.622 MB / 4.226 GB, free: 153.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002368/9.869, allocations: 1.641 MB / 4.228 GB, free: 151.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/9.869, allocations: 8.062 kB / 4.228 GB, free: 151.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005971/9.869, allocations: 0.5014 MB / 4.228 GB, free: 151.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003573/9.873, allocations: 0.7181 MB / 4.229 GB, free: 150.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005865/9.879, allocations: 2.551 MB / 4.231 GB, free: 147.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007081/9.879, allocations: 1.378 MB / 4.233 GB, free: 146.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002177/9.882, allocations: 460.2 kB / 4.233 GB, free: 146 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/9.882, allocations: 83.41 kB / 4.233 GB, free: 145.9 MB / 1.151 GB Notification: Performance of SimCode: time 8.42e-07/9.882, allocations: 0 / 4.233 GB, free: 145.9 MB / 1.151 GB Notification: Performance of Templates: time 0.05203/9.934, allocations: 39.52 MB / 4.272 GB, free: 106.8 MB / 1.151 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