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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.994/1.994, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001022/0.001022, allocations: 177.3 kB / 490.8 MB, free: 1.926 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.271/1.271, allocations: 221.4 MB / 0.7863 GB, free: 13.66 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.0008641/0.0008641, allocations: 94.97 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.372e-06/6.462e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2331, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.096/4.329, allocations: 1.888 GB / 3.1 GB, free: 430 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/4.33, allocations: 85.42 kB / 3.1 GB, free: 430 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.935/6.264, allocations: 0.6052 GB / 3.705 GB, free: 259.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001045/6.264, allocations: 18.81 kB / 3.705 GB, free: 259.8 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.00397/6.268, allocations: 1.054 MB / 3.706 GB, free: 258.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/6.269, allocations: 8.031 kB / 3.706 GB, free: 258.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00168/6.27, allocations: 239.1 kB / 3.706 GB, free: 258.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003144/6.273, allocations: 0.883 MB / 3.707 GB, free: 257.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.491e-05/6.273, allocations: 12 kB / 3.707 GB, free: 257.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/6.274, allocations: 31.06 kB / 3.707 GB, free: 257.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007372/6.274, allocations: 337.5 kB / 3.707 GB, free: 257.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007492/6.275, allocations: 455.5 kB / 3.708 GB, free: 256.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/6.275, allocations: 0 / 3.708 GB, free: 256.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.332e-05/6.275, allocations: 4 kB / 3.708 GB, free: 256.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.691e-05/6.275, allocations: 12.78 kB / 3.708 GB, free: 256.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003523/6.279, allocations: 2.257 MB / 3.71 GB, free: 254.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/6.279, allocations: 246.5 kB / 3.71 GB, free: 254.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/6.279, allocations: 127.4 kB / 3.71 GB, free: 254.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/6.28, allocations: 0.8236 MB / 3.711 GB, free: 253.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002454/6.281, allocations: 197.8 kB / 3.711 GB, free: 252.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=27): time 2.224e-06/6.281, allocations: 3.719 kB / 3.711 GB, free: 252.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=27): time 0.001161/6.282, allocations: 414.3 kB / 3.712 GB, free: 252.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/6.282, allocations: 107 kB / 3.712 GB, free: 252.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004749/6.282, allocations: 454.2 kB / 3.712 GB, free: 251.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/6.282, allocations: 25.7 kB / 3.712 GB, free: 251.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/6.283, allocations: 249.9 kB / 3.713 GB, free: 251.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.417e-05/6.283, allocations: 98.66 kB / 3.713 GB, free: 251.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/6.283, allocations: 0 / 3.713 GB, free: 251.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001083/6.283, allocations: 362.8 kB / 3.713 GB, free: 251.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/6.283, allocations: 104.8 kB / 3.713 GB, free: 251.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/6.283, allocations: 298 kB / 3.713 GB, free: 250.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004552/6.284, allocations: 223.4 kB / 3.714 GB, free: 250.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/6.284, allocations: 0.7812 kB / 3.714 GB, free: 250.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008069/6.284, allocations: 0.4942 MB / 3.714 GB, free: 250 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004627/6.285, allocations: 1.829 MB / 3.716 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/6.285, allocations: 4 kB / 3.716 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.79e-05/6.285, allocations: 8 kB / 3.716 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/6.285, allocations: 87.83 kB / 3.716 GB, free: 247.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/6.285, allocations: 11.94 kB / 3.716 GB, free: 247.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004305/6.286, allocations: 51.58 kB / 3.716 GB, free: 247.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-05/6.286, allocations: 27.98 kB / 3.716 GB, free: 247.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.263e-06/6.286, allocations: 4 kB / 3.716 GB, free: 247.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000689/6.287, allocations: 396.8 kB / 3.717 GB, free: 247.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/6.287, allocations: 8.094 kB / 3.717 GB, free: 247.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-06/6.287, allocations: 8 kB / 3.717 GB, free: 247.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/6.287, allocations: 87.89 kB / 3.717 GB, free: 247.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/6.287, allocations: 11.94 kB / 3.717 GB, free: 247.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/6.287, allocations: 35.67 kB / 3.717 GB, free: 247.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/6.287, allocations: 23.98 kB / 3.717 GB, free: 247.3 MB / 1.151 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 () * 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.0001215/6.287, allocations: 132.5 kB / 3.717 GB, free: 247.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.129e-05/6.287, allocations: 51.34 kB / 3.717 GB, free: 247.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000748/6.288, allocations: 379.9 kB / 3.717 GB, free: 246.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/6.288, allocations: 4 kB / 3.717 GB, free: 246.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/6.288, allocations: 0 / 3.717 GB, free: 246.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/6.288, allocations: 3.062 kB / 3.717 GB, free: 246.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/6.29, allocations: 1.18 MB / 3.718 GB, free: 245.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/6.29, allocations: 4 kB / 3.718 GB, free: 245.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/6.29, allocations: 43.91 kB / 3.718 GB, free: 245.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/6.29, allocations: 4.281 kB / 3.718 GB, free: 245.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/6.29, allocations: 12 kB / 3.718 GB, free: 245.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/6.29, allocations: 7.984 kB / 3.718 GB, free: 245.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/6.29, allocations: 0 / 3.718 GB, free: 245.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009335/6.291, allocations: 0.7881 MB / 3.719 GB, free: 244.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/6.291, allocations: 164.2 kB / 3.719 GB, free: 244.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.237e-05/6.291, allocations: 4 kB / 3.719 GB, free: 244.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/6.292, allocations: 11.98 kB / 3.719 GB, free: 244.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.551e-05/6.292, allocations: 24.14 kB / 3.719 GB, free: 244.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/6.292, allocations: 19.98 kB / 3.719 GB, free: 244.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003356/6.292, allocations: 342.9 kB / 3.72 GB, free: 243.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001321/6.293, allocations: 386.9 kB / 3.72 GB, free: 243.6 MB / 1.151 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) * 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.00318/6.297, allocations: 1.793 MB / 3.722 GB, free: 242 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000894/6.298, allocations: 495.9 kB / 3.722 GB, free: 241.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/6.298, allocations: 2.25 kB / 3.722 GB, free: 241.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/6.298, allocations: 139.7 kB / 3.722 GB, free: 241.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/6.299, allocations: 190.5 kB / 3.723 GB, free: 241.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004987/6.304, allocations: 1.631 MB / 3.724 GB, free: 239.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007373/6.305, allocations: 0.9648 MB / 3.725 GB, free: 238.5 MB / 1.151 GB Notification: Performance of SimCode: time 4.939e-06/6.305, allocations: 0 / 3.725 GB, free: 238.5 MB / 1.151 GB Notification: Performance of Templates: time 0.02981/6.334, allocations: 18.61 MB / 3.743 GB, free: 220.1 MB / 1.151 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