Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryWet.fraDry|dryWet.fraWet|dryWet.SHR|dryWet.Q_flow|dryWet.EIR|dryWet.mWat_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryWet.fraDry|dryWet.fraWet|dryWet.SHR|dryWet.Q_flow|dryWet.EIR|dryWet.mWat_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector") [: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 9.1.1-maint.9.1.x/package.mo): time 1.995/1.995, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001343/0.001343, allocations: 176.3 kB / 487 MB, free: 5.406 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.447/1.447, allocations: 221.3 MB / 0.7819 GB, free: 1.41 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009455/0.0009456, allocations: 94.36 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.223e-05/1.226e-05, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3395, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9181/1.258, allocations: 150.9 MB / 1.353 GB, free: 16.2 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/1.258, allocations: 86.8 kB / 1.353 GB, free: 16.2 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.00971/1.268, allocations: 2.736 MB / 1.355 GB, free: 16.02 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.06e-05/1.268, allocations: 5.688 kB / 1.355 GB, free: 16.02 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005909/1.268, allocations: 438.7 kB / 1.356 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/1.268, allocations: 8.75 kB / 1.356 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/1.269, allocations: 14.81 kB / 1.356 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/1.269, allocations: 178.3 kB / 1.356 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/1.269, allocations: 2.531 kB / 1.356 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/1.269, allocations: 10 kB / 1.356 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002049/1.269, allocations: 59.38 kB / 1.356 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/1.269, allocations: 82.88 kB / 1.356 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/1.269, allocations: 0 / 1.356 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/1.269, allocations: 8.875 kB / 1.356 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/1.269, allocations: 2.344 kB / 1.356 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000549/1.27, allocations: 367.6 kB / 1.356 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/1.27, allocations: 73.98 kB / 1.357 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.047e-05/1.27, allocations: 40.52 kB / 1.357 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003632/1.27, allocations: 0.5556 MB / 1.357 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/1.27, allocations: 36.09 kB / 1.357 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/1.27, allocations: 4.75 kB / 1.357 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.000294/1.271, allocations: 84.62 kB / 1.357 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/1.271, allocations: 53.09 kB / 1.357 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.196e-05/1.271, allocations: 112.6 kB / 1.357 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/1.271, allocations: 25.7 kB / 1.357 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/1.271, allocations: 109 kB / 1.358 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/1.271, allocations: 29.09 kB / 1.358 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-06/1.271, allocations: 0.7812 kB / 1.358 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.185e-05/1.271, allocations: 318.9 kB / 1.358 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.784e-05/1.271, allocations: 23.56 kB / 1.358 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.382e-05/1.271, allocations: 18.03 kB / 1.358 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.223e-05/1.271, allocations: 22.08 kB / 1.358 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.271, allocations: 0 / 1.358 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001678/1.271, allocations: 87.56 kB / 1.358 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/1.271, allocations: 11.72 kB / 1.358 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/1.271, allocations: 0 / 1.358 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/1.271, allocations: 0.8438 kB / 1.358 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/1.272, allocations: 38.52 kB / 1.358 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/1.272, allocations: 0.8438 kB / 1.358 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/1.272, allocations: 29.97 kB / 1.358 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/1.272, allocations: 3.25 kB / 1.358 GB, free: 13.66 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 5.673e-05/1.272, allocations: 101.9 kB / 1.358 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/1.272, allocations: 8.406 kB / 1.358 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/1.272, allocations: 108.3 kB / 1.358 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/1.272, allocations: 5.312 kB / 1.358 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.272, allocations: 0 / 1.358 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/1.272, allocations: 1.969 kB / 1.358 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/1.272, allocations: 181.8 kB / 1.358 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.272, allocations: 0 / 1.358 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/1.273, allocations: 39.53 kB / 1.359 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/1.273, allocations: 5.219 kB / 1.359 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/1.273, allocations: 0 / 1.359 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.273, allocations: 1.031 kB / 1.359 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.273, allocations: 0 / 1.359 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001966/1.273, allocations: 193 kB / 1.359 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/1.273, allocations: 86.45 kB / 1.359 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/1.273, allocations: 3.047 kB / 1.359 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/1.273, allocations: 17.52 kB / 1.359 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/1.273, allocations: 21.5 kB / 1.359 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/1.273, allocations: 1.812 kB / 1.359 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.446e-05/1.273, allocations: 95.47 kB / 1.359 GB, free: 13 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002706/1.273, allocations: 24.47 kB / 1.359 GB, free: 12.99 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.000194/1.274, allocations: 115.6 kB / 1.359 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001684/1.274, allocations: 53.81 kB / 1.359 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/1.274, allocations: 1 kB / 1.359 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.031e-05/1.274, allocations: 34.88 kB / 1.359 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/1.274, allocations: 28.45 kB / 1.359 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003755/1.275, allocations: 133 kB / 1.359 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/1.275, allocations: 0.7204 MB / 1.36 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of SimCode: time 2.11e-07/1.275, allocations: 0.9688 kB / 1.36 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of Templates: time 0.004249/1.279, allocations: 1.269 MB / 1.361 GB, free: 11.99 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches