Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.364/1.364, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 187.4 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.736/1.736, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009421/0.0009422, allocations: 99.83 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.0003307, allocations: 8.312 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2455, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.155/6.4, allocations: 2.205 GB / 3.106 GB, free: 239.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003569/6.401, allocations: 93.55 kB / 3.106 GB, free: 239.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.143/10.54, allocations: 1.007 GB / 4.112 GB, free: 134 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.523e-06/10.54, allocations: 0 / 4.112 GB, free: 134 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002042/10.54, allocations: 49.25 kB / 4.112 GB, free: 134 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.0071/10.55, allocations: 2.379 MB / 4.115 GB, free: 133.3 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/10.55, allocations: 8.188 kB / 4.115 GB, free: 133.3 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004438/10.56, allocations: 0.5956 MB / 4.115 GB, free: 133.2 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004633/10.56, allocations: 1.457 MB / 4.117 GB, free: 132.9 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004263/10.56, allocations: 164.9 kB / 4.117 GB, free: 132.9 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000353/10.56, allocations: 123.7 kB / 4.117 GB, free: 132.9 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002849/10.56, allocations: 1.488 MB / 4.119 GB, free: 132.7 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/10.56, allocations: 3.953 kB / 4.119 GB, free: 132.7 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/10.56, allocations: 51.69 kB / 4.119 GB, free: 132.7 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-05/10.56, allocations: 40.03 kB / 4.119 GB, free: 132.7 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002458/10.57, allocations: 1.254 MB / 4.12 GB, free: 132.6 MB / 0.9011 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.009406/10.58, allocations: 6.006 MB / 4.126 GB, free: 130.2 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/10.58, allocations: 1.057 MB / 4.127 GB, free: 130 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005051/10.58, allocations: 309.7 kB / 4.127 GB, free: 129.7 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/10.58, allocations: 0.6039 MB / 4.128 GB, free: 129.6 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=79): time 3.697e-06/10.58, allocations: 0 / 4.128 GB, free: 129.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=79): time 0.003991/10.58, allocations: 1.802 MB / 4.129 GB, free: 129.2 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/10.58, allocations: 199.7 kB / 4.13 GB, free: 129 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/10.59, allocations: 1.157 MB / 4.131 GB, free: 128.9 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001425/10.59, allocations: 44.42 kB / 4.131 GB, free: 128.8 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007437/10.59, allocations: 0.7464 MB / 4.132 GB, free: 128.6 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002751/10.59, allocations: 269.4 kB / 4.132 GB, free: 128.5 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/10.59, allocations: 18.41 kB / 4.132 GB, free: 128.5 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001091/10.59, allocations: 339.3 kB / 4.132 GB, free: 128.2 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000849/10.59, allocations: 431.6 kB / 4.133 GB, free: 128.2 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/10.59, allocations: 0.6796 MB / 4.133 GB, free: 127.9 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009243/10.59, allocations: 0.5115 MB / 4.134 GB, free: 127.9 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/10.59, allocations: 4.031 kB / 4.134 GB, free: 127.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002625/10.59, allocations: 1.343 MB / 4.135 GB, free: 127.7 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004015/10.59, allocations: 1.747 MB / 4.137 GB, free: 125.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/10.59, allocations: 3.781 kB / 4.137 GB, free: 125.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002243/10.59, allocations: 57.22 kB / 4.137 GB, free: 125.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008671/10.59, allocations: 208.8 kB / 4.137 GB, free: 125.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003581/10.59, allocations: 0.5853 MB / 4.138 GB, free: 125.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/10.6, allocations: 193.4 kB / 4.138 GB, free: 125.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.471e-05/10.6, allocations: 42.88 kB / 4.138 GB, free: 125.3 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/10.6, allocations: 6.797 kB / 4.138 GB, free: 125.3 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002175/10.6, allocations: 1.188 MB / 4.139 GB, free: 125.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/10.6, allocations: 3.875 kB / 4.139 GB, free: 125.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/10.6, allocations: 52.28 kB / 4.139 GB, free: 125.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008298/10.6, allocations: 205.2 kB / 4.139 GB, free: 125.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/10.6, allocations: 1.601 MB / 4.141 GB, free: 123.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/10.6, allocations: 182.9 kB / 4.141 GB, free: 123.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.164e-05/10.6, allocations: 40.61 kB / 4.141 GB, free: 123.8 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (95): * Single equations (assignments): 93 * 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.001086/10.6, allocations: 0.4964 MB / 4.141 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000323/10.6, allocations: 166.5 kB / 4.142 GB, free: 123.5 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/10.61, allocations: 1.274 MB / 4.143 GB, free: 123.4 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/10.61, allocations: 11.09 kB / 4.143 GB, free: 123.4 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/10.61, allocations: 2.156 kB / 4.143 GB, free: 123.4 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001922/10.61, allocations: 1.152 MB / 4.144 GB, free: 123.2 MB / 0.9011 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.00547/10.61, allocations: 2.939 MB / 4.147 GB, free: 122.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/10.61, allocations: 4.625 kB / 4.147 GB, free: 122.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/10.62, allocations: 179 kB / 4.147 GB, free: 122.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001785/10.62, allocations: 53.81 kB / 4.147 GB, free: 122.7 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.587e-05/10.62, allocations: 29.39 kB / 4.147 GB, free: 122.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003763/10.62, allocations: 0.5875 MB / 4.148 GB, free: 122.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/10.62, allocations: 2.5 kB / 4.148 GB, free: 122.1 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004625/10.62, allocations: 2.134 MB / 4.15 GB, free: 121.6 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/10.62, allocations: 358.1 kB / 4.15 GB, free: 121.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002722/10.62, allocations: 22.22 kB / 4.15 GB, free: 121.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/10.62, allocations: 134.4 kB / 4.15 GB, free: 121.4 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/10.62, allocations: 47.39 kB / 4.15 GB, free: 121.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-05/10.62, allocations: 35.22 kB / 4.15 GB, free: 121.4 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001378/10.62, allocations: 0.9039 MB / 4.151 GB, free: 121.3 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.6e-07/10.62, allocations: 0 / 4.151 GB, free: 121.3 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003617/10.63, allocations: 1.039 MB / 4.152 GB, free: 121.2 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.U,humDyn.vol.dynBal.mXi[1],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 (70): * Single equations (assignments): 68 * 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.004266/10.63, allocations: 2.368 MB / 4.155 GB, free: 120.4 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003928/10.64, allocations: 1.886 MB / 4.156 GB, free: 120.2 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/10.64, allocations: 7 kB / 4.156 GB, free: 120.2 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/10.64, allocations: 0.604 MB / 4.157 GB, free: 120.1 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004154/10.64, allocations: 0.8136 MB / 4.158 GB, free: 120.1 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007623/10.65, allocations: 3.837 MB / 4.162 GB, free: 118.5 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007867/10.65, allocations: 1.369 MB / 4.163 GB, free: 117.8 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001909/10.65, allocations: 368.2 kB / 4.163 GB, free: 117.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003301/10.65, allocations: 111.6 kB / 4.163 GB, free: 117.8 MB / 0.9011 GB Notification: Performance of SimCode: time 1.273e-06/10.65, allocations: 0 / 4.163 GB, free: 117.8 MB / 0.9011 GB Notification: Performance of Templates: time 0.07663/10.73, allocations: 53.81 MB / 4.216 GB, free: 116.1 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Humidifiers_Examples_Humidifier_u.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches