Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.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.Validation.SteamHumidifier_X_dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|XSet.y.1.|senHum.X|hum.sta_a.T|hum.sta_b.T|hum.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic") translateModel(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|XSet.y.1.|senHum.X|hum.sta_a.T|hum.sta_b.T|hum.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.314/2.314, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001961/0.001961, allocations: 180 kB / 0.4902 GB, free: 2.234 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.782/1.782, allocations: 223.1 MB / 0.7992 GB, free: 15.61 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.0009715/0.0009713, allocations: 102.9 kB / 0.9396 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004981/0.0004983, allocations: 12.59 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3683, allocations: 143 MB / 1.229 GB, free: 85.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.947/5.315, allocations: 1.889 GB / 3.118 GB, free: 72.75 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/5.316, allocations: 87.95 kB / 3.118 GB, free: 72.66 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.88/8.195, allocations: 0.6057 GB / 3.724 GB, free: 300.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.655e-06/8.195, allocations: 0 / 3.724 GB, free: 300.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001443/8.196, allocations: 16.27 kB / 3.724 GB, free: 300.4 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.004897/8.201, allocations: 1.153 MB / 3.725 GB, free: 299.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/8.201, allocations: 11.98 kB / 3.725 GB, free: 299.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/8.202, allocations: 218.9 kB / 3.725 GB, free: 299.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00307/8.205, allocations: 0.9038 MB / 3.726 GB, free: 299.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.693e-05/8.205, allocations: 31.84 kB / 3.726 GB, free: 299.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/8.205, allocations: 37.38 kB / 3.726 GB, free: 299.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/8.207, allocations: 0.5186 MB / 3.727 GB, free: 299.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/8.207, allocations: 2.594 kB / 3.727 GB, free: 299.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.827e-05/8.207, allocations: 15.06 kB / 3.727 GB, free: 299.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/8.207, allocations: 13.28 kB / 3.727 GB, free: 299.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009026/8.208, allocations: 419.3 kB / 3.727 GB, free: 299.4 MB / 1.167 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.003275/8.211, allocations: 2.152 MB / 3.729 GB, free: 298.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000602/8.211, allocations: 279 kB / 3.729 GB, free: 298.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/8.213, allocations: 0.8244 MB / 3.73 GB, free: 297.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003013/8.213, allocations: 201.8 kB / 3.73 GB, free: 297.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=27): time 2.305e-06/8.213, allocations: 3.719 kB / 3.73 GB, free: 297.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=27): time 0.001118/8.214, allocations: 457.1 kB / 3.731 GB, free: 297.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/8.214, allocations: 110.1 kB / 3.731 GB, free: 297.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007272/8.215, allocations: 0.5502 MB / 3.732 GB, free: 297 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.042e-05/8.215, allocations: 31.83 kB / 3.732 GB, free: 297 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/8.215, allocations: 324.7 kB / 3.732 GB, free: 296.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.057e-05/8.215, allocations: 101.5 kB / 3.732 GB, free: 296.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/8.215, allocations: 9.375 kB / 3.732 GB, free: 296.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001321/8.215, allocations: 377.5 kB / 3.732 GB, free: 296.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/8.216, allocations: 116.7 kB / 3.732 GB, free: 296.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/8.216, allocations: 302.8 kB / 3.733 GB, free: 296.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/8.216, allocations: 159 kB / 3.733 GB, free: 296.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/8.216, allocations: 3.75 kB / 3.733 GB, free: 296.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007574/8.217, allocations: 473.4 kB / 3.733 GB, free: 296.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004252/8.217, allocations: 1.837 MB / 3.735 GB, free: 294.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/8.217, allocations: 7.625 kB / 3.735 GB, free: 294.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/8.218, allocations: 7.625 kB / 3.735 GB, free: 294.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/8.218, allocations: 88.16 kB / 3.735 GB, free: 294.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/8.218, allocations: 7.594 kB / 3.735 GB, free: 294.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005116/8.218, allocations: 64.97 kB / 3.735 GB, free: 294.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.93e-05/8.218, allocations: 22.34 kB / 3.735 GB, free: 294.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/8.219, allocations: 3.938 kB / 3.735 GB, free: 294.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006058/8.219, allocations: 388.9 kB / 3.736 GB, free: 294.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/8.219, allocations: 6.75 kB / 3.736 GB, free: 294.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/8.219, allocations: 6.906 kB / 3.736 GB, free: 294.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/8.219, allocations: 90.39 kB / 3.736 GB, free: 294.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/8.22, allocations: 10.22 kB / 3.736 GB, free: 294.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004465/8.22, allocations: 53.84 kB / 3.736 GB, free: 294.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/8.22, allocations: 25.42 kB / 3.736 GB, free: 294.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003034/8.22, allocations: 292.3 kB / 3.736 GB, free: 294.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.99e-05/8.22, allocations: 65.62 kB / 3.736 GB, free: 294 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006066/8.221, allocations: 327.5 kB / 3.737 GB, free: 294 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/8.221, allocations: 3.812 kB / 3.737 GB, free: 294 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/8.221, allocations: 3.438 kB / 3.737 GB, free: 294 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/8.221, allocations: 3.5 kB / 3.737 GB, free: 294 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/8.223, allocations: 1.188 MB / 3.738 GB, free: 293.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/8.223, allocations: 3.219 kB / 3.738 GB, free: 293.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/8.223, allocations: 46 kB / 3.738 GB, free: 293.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/8.223, allocations: 6.844 kB / 3.738 GB, free: 293.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/8.223, allocations: 11.56 kB / 3.738 GB, free: 293.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/8.223, allocations: 8.703 kB / 3.738 GB, free: 293.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/8.223, allocations: 11.03 kB / 3.738 GB, free: 293.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008471/8.224, allocations: 0.7352 MB / 3.739 GB, free: 293.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002799/8.224, allocations: 171.3 kB / 3.739 GB, free: 292.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.677e-05/8.224, allocations: 7.688 kB / 3.739 GB, free: 292.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/8.225, allocations: 18.22 kB / 3.739 GB, free: 292.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.484e-05/8.225, allocations: 29.28 kB / 3.739 GB, free: 292.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/8.225, allocations: 11.53 kB / 3.739 GB, free: 292.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004858/8.225, allocations: 441.8 kB / 3.739 GB, free: 292.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.51e-07/8.225, allocations: 0 / 3.739 GB, free: 292.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001566/8.227, allocations: 421.3 kB / 3.74 GB, free: 292.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (hum.outCon.T,hum.outCon.Xi) * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003184/8.23, allocations: 1.709 MB / 3.741 GB, free: 292.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0009179/8.231, allocations: 0.4993 MB / 3.742 GB, free: 292.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/8.231, allocations: 0 / 3.742 GB, free: 292.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002312/8.231, allocations: 138 kB / 3.742 GB, free: 292.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/8.232, allocations: 263.2 kB / 3.742 GB, free: 292.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004854/8.237, allocations: 2.151 MB / 3.744 GB, free: 291.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004598/8.238, allocations: 0.9079 MB / 3.745 GB, free: 291 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007529/8.239, allocations: 185.6 kB / 3.745 GB, free: 291 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/8.239, allocations: 53.11 kB / 3.745 GB, free: 291 MB / 1.167 GB Notification: Performance of SimCode: time 7.51e-07/8.239, allocations: 0 / 3.745 GB, free: 291 MB / 1.167 GB Notification: Performance of Templates: time 0.03941/8.278, allocations: 26.18 MB / 3.771 GB, free: 290.1 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.makefile (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & ./Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.csv","../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches