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.586/1.586, allocations: 249.5 MB / 257 MB, free: 6.922 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.001159/0.001159, allocations: 170.1 kB / 316.3 MB, free: 3.32 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.595/1.595, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0009693/0.0009693, allocations: 92.66 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.888e-05/1.891e-05, allocations: 4 kB / 0.7814 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.238, allocations: 106.3 MB / 0.8852 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.337/6.575, allocations: 2.206 GB / 3.091 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/6.576, allocations: 92.91 kB / 3.091 GB, free: 202 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.607/10.18, allocations: 0.9947 GB / 4.086 GB, free: 152.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.385e-06/10.18, allocations: 1.781 kB / 4.086 GB, free: 152.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001503/10.18, allocations: 51.66 kB / 4.086 GB, free: 152.5 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.004016/10.19, allocations: 2.062 MB / 4.088 GB, free: 151.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/10.19, allocations: 9.5 kB / 4.088 GB, free: 151.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003582/10.19, allocations: 0.6029 MB / 4.088 GB, free: 151.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003188/10.19, allocations: 1.444 MB / 4.09 GB, free: 151.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003543/10.19, allocations: 113.2 kB / 4.09 GB, free: 151 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/10.19, allocations: 74.66 kB / 4.09 GB, free: 151 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00178/10.2, allocations: 0.9779 MB / 4.091 GB, free: 151 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/10.2, allocations: 1.199 MB / 4.092 GB, free: 150.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/10.2, allocations: 0 / 4.092 GB, free: 150.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/10.2, allocations: 7.094 kB / 4.092 GB, free: 150.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.022e-05/10.2, allocations: 45.2 kB / 4.092 GB, free: 150.8 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.007655/10.21, allocations: 5.767 MB / 4.098 GB, free: 148.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000979/10.21, allocations: 0.8636 MB / 4.099 GB, free: 148.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004941/10.21, allocations: 419.8 kB / 4.099 GB, free: 148.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005108/10.21, allocations: 310.6 kB / 4.099 GB, free: 147.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005971/10.21, allocations: 489.4 kB / 4.1 GB, free: 147.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=79): time 2.786e-06/10.21, allocations: 1.781 kB / 4.1 GB, free: 147.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=79): time 0.002091/10.21, allocations: 1.008 MB / 4.101 GB, free: 147.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/10.21, allocations: 196.1 kB / 4.101 GB, free: 147.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/10.21, allocations: 0.9311 MB / 4.102 GB, free: 147.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.851e-05/10.21, allocations: 29.58 kB / 4.102 GB, free: 147.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005005/10.21, allocations: 0.7655 MB / 4.103 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/10.21, allocations: 257.9 kB / 4.103 GB, free: 146.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/10.21, allocations: 3.688 kB / 4.103 GB, free: 146.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.529e-05/10.21, allocations: 339 kB / 4.103 GB, free: 146.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004045/10.21, allocations: 316.5 kB / 4.103 GB, free: 146.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005349/10.21, allocations: 0.5618 MB / 4.104 GB, free: 146.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007145/10.21, allocations: 434.7 kB / 4.104 GB, free: 146.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/10.21, allocations: 0 / 4.104 GB, free: 146.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001811/10.22, allocations: 1.102 MB / 4.105 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003615/10.22, allocations: 1.737 MB / 4.107 GB, free: 144.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/10.22, allocations: 7.406 kB / 4.107 GB, free: 144.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001755/10.22, allocations: 40.73 kB / 4.107 GB, free: 144.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008466/10.22, allocations: 200 kB / 4.107 GB, free: 144.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000342/10.22, allocations: 0.6079 MB / 4.108 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/10.22, allocations: 153 kB / 4.108 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.68e-05/10.22, allocations: 43.06 kB / 4.108 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.285e-06/10.22, allocations: 5.781 kB / 4.108 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001532/10.22, allocations: 0.9246 MB / 4.109 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/10.22, allocations: 12.97 kB / 4.109 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001234/10.22, allocations: 48.08 kB / 4.109 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007943/10.22, allocations: 199.2 kB / 4.109 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/10.22, allocations: 1.532 MB / 4.111 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/10.22, allocations: 152.3 kB / 4.111 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.95e-05/10.22, allocations: 39.45 kB / 4.111 GB, free: 142.3 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.0002775/10.23, allocations: 172 kB / 4.111 GB, free: 142.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/10.23, allocations: 149.2 kB / 4.111 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/10.23, allocations: 1.039 MB / 4.112 GB, free: 142 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/10.23, allocations: 3.781 kB / 4.112 GB, free: 142 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/10.23, allocations: 7.203 kB / 4.112 GB, free: 142 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00141/10.23, allocations: 0.9328 MB / 4.113 GB, free: 141.8 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.004025/10.23, allocations: 2.567 MB / 4.116 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/10.23, allocations: 0 / 4.116 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008848/10.23, allocations: 188.7 kB / 4.116 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001049/10.23, allocations: 45.03 kB / 4.116 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.438e-05/10.23, allocations: 21.66 kB / 4.116 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002742/10.23, allocations: 0.5719 MB / 4.117 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/10.23, allocations: 7.5 kB / 4.117 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/10.24, allocations: 1.794 MB / 4.118 GB, free: 140.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006373/10.24, allocations: 348 kB / 4.119 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/10.24, allocations: 10.36 kB / 4.119 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/10.24, allocations: 114 kB / 4.119 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/10.24, allocations: 60.59 kB / 4.119 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.21e-05/10.24, allocations: 32.08 kB / 4.119 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009509/10.24, allocations: 0.7139 MB / 4.12 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/10.24, allocations: 0 / 4.12 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002849/10.24, allocations: 0.9532 MB / 4.12 GB, free: 139.7 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.003613/10.25, allocations: 2.61 MB / 4.123 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002279/10.25, allocations: 1.582 MB / 4.125 GB, free: 138 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/10.25, allocations: 0 / 4.125 GB, free: 138 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005741/10.25, allocations: 496.1 kB / 4.125 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00348/10.25, allocations: 0.6986 MB / 4.126 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005881/10.26, allocations: 2.492 MB / 4.128 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007222/10.26, allocations: 1.372 MB / 4.129 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002265/10.26, allocations: 455.7 kB / 4.13 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/10.26, allocations: 84.88 kB / 4.13 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.082e-06/10.26, allocations: 0 / 4.13 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.0571/10.32, allocations: 39.13 MB / 4.168 GB, free: 116.2 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