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.438/1.438, allocations: 249.3 MB / 261.9 MB, free: 5.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 178.1 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.1 MB / 0.572 GB, free: 10.7 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.0009049/0.000905, allocations: 82.53 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.75e-05/3.752e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2484, allocations: 106.3 MB / 0.8918 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.818/6.066, allocations: 2.205 GB / 3.097 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/6.067, allocations: 83.95 kB / 3.097 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.707/9.774, allocations: 1.006 GB / 4.103 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.232e-06/9.774, allocations: 3.938 kB / 4.103 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001707/9.774, allocations: 49.39 kB / 4.103 GB, free: 142.7 MB / 0.8855 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.00506/9.779, allocations: 2.059 MB / 4.105 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/9.779, allocations: 11.19 kB / 4.105 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003585/9.783, allocations: 0.5967 MB / 4.106 GB, free: 141 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00319/9.786, allocations: 1.445 MB / 4.107 GB, free: 140 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003633/9.786, allocations: 158.4 kB / 4.107 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/9.787, allocations: 127.9 kB / 4.107 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/9.789, allocations: 1.375 MB / 4.109 GB, free: 139 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/9.789, allocations: 3.844 kB / 4.109 GB, free: 139 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/9.789, allocations: 48.92 kB / 4.109 GB, free: 139 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.267e-05/9.789, allocations: 42.69 kB / 4.109 GB, free: 139 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/9.791, allocations: 1.048 MB / 4.11 GB, free: 138.5 MB / 0.8855 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.00862/9.8, allocations: 6.009 MB / 4.116 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/9.801, allocations: 0.8835 MB / 4.116 GB, free: 133.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005995/9.801, allocations: 447.2 kB / 4.117 GB, free: 132.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005579/9.802, allocations: 314.4 kB / 4.117 GB, free: 132.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008033/9.803, allocations: 0.5103 MB / 4.118 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=79): time 4.959e-06/9.803, allocations: 0 / 4.118 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=79): time 0.002103/9.805, allocations: 1.011 MB / 4.119 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.146e-05/9.805, allocations: 196.7 kB / 4.119 GB, free: 131.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/9.806, allocations: 1.133 MB / 4.12 GB, free: 130 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.531e-05/9.806, allocations: 41.7 kB / 4.12 GB, free: 130 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005575/9.807, allocations: 0.7551 MB / 4.121 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000201/9.807, allocations: 270.5 kB / 4.121 GB, free: 129 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/9.807, allocations: 16 kB / 4.121 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.554e-05/9.807, allocations: 341.9 kB / 4.121 GB, free: 128.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004582/9.808, allocations: 329.9 kB / 4.122 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006124/9.808, allocations: 0.582 MB / 4.122 GB, free: 127.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005669/9.809, allocations: 431.1 kB / 4.123 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/9.809, allocations: 0 / 4.123 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001692/9.811, allocations: 1.145 MB / 4.124 GB, free: 126 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004187/9.811, allocations: 1.741 MB / 4.125 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/9.811, allocations: 4 kB / 4.125 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002196/9.811, allocations: 56.77 kB / 4.125 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008318/9.812, allocations: 199.2 kB / 4.126 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003664/9.813, allocations: 0.5908 MB / 4.126 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/9.814, allocations: 189.1 kB / 4.126 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.539e-05/9.814, allocations: 36 kB / 4.126 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/9.814, allocations: 4 kB / 4.126 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001515/9.816, allocations: 0.9975 MB / 4.127 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/9.816, allocations: 7.984 kB / 4.127 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001322/9.816, allocations: 52.83 kB / 4.128 GB, free: 122 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007741/9.817, allocations: 201.6 kB / 4.128 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/9.818, allocations: 1.605 MB / 4.129 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/9.82, allocations: 181.6 kB / 4.129 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.968e-05/9.82, allocations: 35.98 kB / 4.129 GB, free: 119.9 MB / 0.8855 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 () * 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.0002988/9.82, allocations: 197.9 kB / 4.13 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002329/9.82, allocations: 162 kB / 4.13 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/9.822, allocations: 1.085 MB / 4.131 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/9.822, allocations: 4 kB / 4.131 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/9.822, allocations: 7.938 kB / 4.131 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001252/9.824, allocations: 0.961 MB / 4.132 GB, free: 117.4 MB / 0.8855 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.004505/9.828, allocations: 2.744 MB / 4.135 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/9.828, allocations: 3.938 kB / 4.135 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000873/9.829, allocations: 186.2 kB / 4.135 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001484/9.829, allocations: 52.75 kB / 4.135 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.834e-05/9.829, allocations: 22.19 kB / 4.135 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003157/9.83, allocations: 0.5875 MB / 4.135 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/9.83, allocations: 15.31 kB / 4.135 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/9.832, allocations: 1.84 MB / 4.137 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008785/9.833, allocations: 354.9 kB / 4.137 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/9.833, allocations: 31.94 kB / 4.138 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/9.834, allocations: 127.1 kB / 4.138 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/9.834, allocations: 52.44 kB / 4.138 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.881e-05/9.834, allocations: 39.91 kB / 4.138 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001323/9.836, allocations: 0.8812 MB / 4.139 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.51e-07/9.836, allocations: 4 kB / 4.139 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003657/9.839, allocations: 1.037 MB / 4.14 GB, free: 109.2 MB / 0.8855 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) * 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.003843/9.843, allocations: 2.354 MB / 4.142 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002566/9.846, allocations: 1.655 MB / 4.144 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/9.846, allocations: 0 / 4.144 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000622/9.846, allocations: 0.5096 MB / 4.144 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00388/9.85, allocations: 0.8154 MB / 4.145 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005998/9.856, allocations: 2.555 MB / 4.147 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007506/9.857, allocations: 1.366 MB / 4.149 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002289/9.859, allocations: 0.5031 MB / 4.149 GB, free: 99.61 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002484/9.86, allocations: 87.42 kB / 4.149 GB, free: 99.53 MB / 0.8855 GB Notification: Performance of SimCode: time 2.034e-06/9.86, allocations: 0 / 4.149 GB, free: 99.53 MB / 0.8855 GB Notification: Performance of Templates: time 0.08514/9.945, allocations: 62.34 MB / 4.21 GB, free: 37.78 MB / 0.8855 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