Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flowOpPoi.m_flow|senM_flowKv.m_flow|senM_flowCv.m_flow|senM_flowAv.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flowOpPoi.m_flow|senM_flowKv.m_flow|senM_flowCv.m_flow|senM_flowAv.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") [: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.923/1.923, allocations: 390.4 MB / 397.7 MB, free: 11.19 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.001069/0.001069, allocations: 188.5 kB / 490.8 MB, free: 1.898 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.286/1.286, allocations: 221.4 MB / 0.7863 GB, free: 13.64 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.0009168/0.000917, allocations: 87.34 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.035e-06/8.065e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2323, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9172/1.15, allocations: 429.2 MB / 1.631 GB, free: 2.555 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/1.15, allocations: 92.66 kB / 1.631 GB, free: 2.508 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.703/4.853, allocations: 1.123 GB / 2.754 GB, free: 172.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003148/4.853, allocations: 71.05 kB / 2.754 GB, free: 172.6 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.00579/4.859, allocations: 2.329 MB / 2.756 GB, free: 171.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/4.859, allocations: 11.09 kB / 2.756 GB, free: 171.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/4.86, allocations: 267.1 kB / 2.756 GB, free: 171.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004479/4.864, allocations: 1.69 MB / 2.758 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/4.864, allocations: 38.94 kB / 2.758 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003311/4.865, allocations: 93.53 kB / 2.758 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001702/4.866, allocations: 0.9164 MB / 2.759 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/4.868, allocations: 0.9388 MB / 2.76 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/4.868, allocations: 0 / 2.76 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.429e-05/4.868, allocations: 0 / 2.76 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/4.868, allocations: 28.94 kB / 2.76 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008021/4.876, allocations: 6.002 MB / 2.766 GB, free: 168.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007199/4.877, allocations: 0.5609 MB / 2.766 GB, free: 168.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004109/4.877, allocations: 364.6 kB / 2.767 GB, free: 168.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000329/4.878, allocations: 0.5141 MB / 2.767 GB, free: 168 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/4.878, allocations: 38.12 kB / 2.767 GB, free: 167.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=58): time 1.994e-06/4.878, allocations: 1.688 kB / 2.767 GB, free: 167.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=58): time 0.001612/4.879, allocations: 0.8529 MB / 2.768 GB, free: 167.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.802e-05/4.879, allocations: 57.09 kB / 2.768 GB, free: 167.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/4.881, allocations: 1.333 MB / 2.769 GB, free: 167.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001142/4.881, allocations: 30.27 kB / 2.769 GB, free: 167.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003789/4.882, allocations: 0.5927 MB / 2.77 GB, free: 167.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/4.882, allocations: 199.7 kB / 2.77 GB, free: 167 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.219e-05/4.882, allocations: 0 / 2.77 GB, free: 167 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.234e-05/4.882, allocations: 344 kB / 2.771 GB, free: 166.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005411/4.883, allocations: 395.7 kB / 2.771 GB, free: 166.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007554/4.883, allocations: 0.7195 MB / 2.772 GB, free: 166.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008885/4.884, allocations: 498.6 kB / 2.772 GB, free: 166.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/4.884, allocations: 0 / 2.772 GB, free: 166.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001988/4.886, allocations: 1.256 MB / 2.773 GB, free: 166.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001867/4.886, allocations: 0.917 MB / 2.774 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/4.886, allocations: 7.953 kB / 2.774 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.081e-05/4.886, allocations: 7.875 kB / 2.774 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/4.888, allocations: 276 kB / 2.775 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/4.888, allocations: 10.66 kB / 2.775 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/4.89, allocations: 183.8 kB / 2.775 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/4.89, allocations: 60.33 kB / 2.775 GB, free: 165.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/4.89, allocations: 3.938 kB / 2.775 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001723/4.892, allocations: 0.9877 MB / 2.776 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/4.892, allocations: 0 / 2.776 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/4.892, allocations: 16.34 kB / 2.776 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/4.893, allocations: 272.8 kB / 2.776 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/4.893, allocations: 10.66 kB / 2.776 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/4.895, allocations: 157.1 kB / 2.776 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/4.895, allocations: 64.12 kB / 2.776 GB, free: 165.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 140 * 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.0002201/4.895, allocations: 125.4 kB / 2.776 GB, free: 165 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002557/4.895, allocations: 175.1 kB / 2.777 GB, free: 164.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002047/4.897, allocations: 1.052 MB / 2.778 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/4.897, allocations: 10.81 kB / 2.778 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/4.897, allocations: 0 / 2.778 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/4.897, allocations: 3.375 kB / 2.778 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003394/4.901, allocations: 2.233 MB / 2.78 GB, free: 164.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/4.901, allocations: 3.5 kB / 2.78 GB, free: 164.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006102/4.901, allocations: 142.3 kB / 2.78 GB, free: 164.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/4.901, allocations: 3.969 kB / 2.78 GB, free: 164.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-05/4.901, allocations: 14.77 kB / 2.78 GB, free: 164.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/4.901, allocations: 3.938 kB / 2.78 GB, free: 164.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/4.901, allocations: 0 / 2.78 GB, free: 164.5 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001269/4.903, allocations: 1.101 MB / 2.781 GB, free: 164 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006446/4.903, allocations: 355.2 kB / 2.781 GB, free: 163.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002928/4.904, allocations: 7.531 kB / 2.781 GB, free: 163.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/4.905, allocations: 108 kB / 2.781 GB, free: 163.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.805e-05/4.905, allocations: 41 kB / 2.781 GB, free: 163.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.961e-05/4.905, allocations: 37.72 kB / 2.782 GB, free: 163.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001232/4.906, allocations: 0.967 MB / 2.782 GB, free: 163.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002656/4.909, allocations: 0.9646 MB / 2.783 GB, free: 163.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001386/4.91, allocations: 0.9901 MB / 2.784 GB, free: 163.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002215/4.912, allocations: 1.549 MB / 2.786 GB, free: 163.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/4.912, allocations: 2.25 kB / 2.786 GB, free: 163.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004463/4.913, allocations: 389.2 kB / 2.786 GB, free: 163.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004112/4.917, allocations: 0.8866 MB / 2.787 GB, free: 163.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004528/4.922, allocations: 2.277 MB / 2.789 GB, free: 162.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001312/4.923, allocations: 1.62 MB / 2.791 GB, free: 161.8 MB / 1.167 GB Notification: Performance of SimCode: time 8.41e-07/4.923, allocations: 0 / 2.791 GB, free: 161.8 MB / 1.167 GB Notification: Performance of Templates: time 0.0684/4.991, allocations: 41.47 MB / 2.831 GB, free: 160.8 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches