Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.TwoWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valOPPoi.m_flow|valKv.m_flow|valCv.m_flow|valAv.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valOPPoi.m_flow|valKv.m_flow|valCv.m_flow|valAv.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") [: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.918/1.918, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.001116/0.001116, allocations: 188.1 kB / 490.8 MB, free: 1.957 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.287/1.287, allocations: 221.3 MB / 0.7863 GB, free: 13.68 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.0009265/0.0009268, allocations: 98.23 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.274e-06/7.494e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2406, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8882/1.129, allocations: 396.8 MB / 1.599 GB, free: 2.305 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/1.129, allocations: 94.72 kB / 1.599 GB, free: 2.254 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.301/2.431, allocations: 417 MB / 2.006 GB, free: 196.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.428e-05/2.431, allocations: 27.94 kB / 2.006 GB, free: 196.4 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001929/2.433, allocations: 1.044 MB / 2.007 GB, free: 195.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/2.433, allocations: 8.031 kB / 2.007 GB, free: 195.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002488/2.433, allocations: 98.88 kB / 2.008 GB, free: 195.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/2.434, allocations: 0.5858 MB / 2.008 GB, free: 194.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/2.434, allocations: 16 kB / 2.008 GB, free: 194.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.759e-05/2.434, allocations: 35.91 kB / 2.008 GB, free: 194.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004664/2.435, allocations: 242 kB / 2.008 GB, free: 194.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004835/2.435, allocations: 312.5 kB / 2.009 GB, free: 194 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/2.435, allocations: 0 / 2.009 GB, free: 194 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/2.435, allocations: 0 / 2.009 GB, free: 194 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/2.435, allocations: 12 kB / 2.009 GB, free: 194 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/2.437, allocations: 1.772 MB / 2.01 GB, free: 192.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/2.438, allocations: 154.5 kB / 2.011 GB, free: 191.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.437e-05/2.438, allocations: 64.84 kB / 2.011 GB, free: 191.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/2.438, allocations: 340.5 kB / 2.011 GB, free: 191.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/2.438, allocations: 46.48 kB / 2.011 GB, free: 191.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 1.412e-06/2.438, allocations: 0 / 2.011 GB, free: 191.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.0005016/2.438, allocations: 208.8 kB / 2.011 GB, free: 191.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.697e-05/2.438, allocations: 55.34 kB / 2.011 GB, free: 191.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004756/2.439, allocations: 495.7 kB / 2.012 GB, free: 190.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/2.439, allocations: 25.7 kB / 2.012 GB, free: 190.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/2.439, allocations: 280.2 kB / 2.012 GB, free: 190.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/2.439, allocations: 63.09 kB / 2.012 GB, free: 190.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.541e-05/2.439, allocations: 0 / 2.012 GB, free: 190.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.631e-05/2.439, allocations: 370.8 kB / 2.012 GB, free: 189.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/2.439, allocations: 80.73 kB / 2.013 GB, free: 189.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/2.44, allocations: 195.2 kB / 2.013 GB, free: 189.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/2.44, allocations: 126.8 kB / 2.013 GB, free: 189.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/2.44, allocations: 3.906 kB / 2.013 GB, free: 189.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005234/2.44, allocations: 334.7 kB / 2.013 GB, free: 189.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.943e-05/2.44, allocations: 267 kB / 2.013 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/2.44, allocations: 0 / 2.013 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/2.44, allocations: 4 kB / 2.013 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009596/2.441, allocations: 151.8 kB / 2.014 GB, free: 188.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00097/2.442, allocations: 2.391 MB / 2.016 GB, free: 186.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000623/2.443, allocations: 71.84 kB / 2.016 GB, free: 186.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/2.443, allocations: 19.98 kB / 2.016 GB, free: 186.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.685e-06/2.443, allocations: 4 kB / 2.016 GB, free: 186.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000406/2.443, allocations: 236 kB / 2.016 GB, free: 185.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/2.443, allocations: 0 / 2.016 GB, free: 185.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.685e-06/2.444, allocations: 11.89 kB / 2.016 GB, free: 185.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004189/2.444, allocations: 103.8 kB / 2.016 GB, free: 185.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/2.444, allocations: 4 kB / 2.016 GB, free: 185.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005377/2.444, allocations: 71.78 kB / 2.016 GB, free: 185.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/2.445, allocations: 15.98 kB / 2.016 GB, free: 185.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.591e-05/2.445, allocations: 116.8 kB / 2.017 GB, free: 185.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.004e-05/2.445, allocations: 55.25 kB / 2.017 GB, free: 185.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000546/2.445, allocations: 271.5 kB / 2.017 GB, free: 185.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/2.445, allocations: 0 / 2.017 GB, free: 185.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/2.445, allocations: 0 / 2.017 GB, free: 185.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/2.445, allocations: 15.98 kB / 2.017 GB, free: 185.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/2.446, allocations: 0.7793 MB / 2.018 GB, free: 184.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/2.446, allocations: 192 / 2.018 GB, free: 184.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/2.447, allocations: 79.83 kB / 2.018 GB, free: 184.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/2.447, allocations: 4.125 kB / 2.018 GB, free: 184.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/2.447, allocations: 11.89 kB / 2.018 GB, free: 184.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000678/2.447, allocations: 2.36 MB / 2.02 GB, free: 181.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/2.447, allocations: 0 / 2.02 GB, free: 181.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000377/2.448, allocations: 413.9 kB / 2.02 GB, free: 181.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/2.448, allocations: 172.1 kB / 2.021 GB, free: 181.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-05/2.448, allocations: 0 / 2.021 GB, free: 181.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000478/2.449, allocations: 51.94 kB / 2.021 GB, free: 181.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/2.449, allocations: 15.89 kB / 2.021 GB, free: 181.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/2.449, allocations: 11.98 kB / 2.021 GB, free: 181.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003286/2.449, allocations: 367.2 kB / 2.021 GB, free: 180.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009768/2.45, allocations: 391.1 kB / 2.021 GB, free: 180.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007895/2.451, allocations: 486.7 kB / 2.022 GB, free: 179.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001294/2.452, allocations: 439.7 kB / 2.022 GB, free: 179.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/2.452, allocations: 0 / 2.022 GB, free: 179.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003686/2.452, allocations: 131.8 kB / 2.022 GB, free: 179.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/2.454, allocations: 281.6 kB / 2.023 GB, free: 179.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/2.455, allocations: 0.7552 MB / 2.023 GB, free: 178.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000431/2.456, allocations: 0.9984 MB / 2.024 GB, free: 177.2 MB / 1.151 GB Notification: Performance of SimCode: time 2.41e-07/2.456, allocations: 0 / 2.024 GB, free: 177.2 MB / 1.151 GB Notification: Performance of Templates: time 0.02144/2.477, allocations: 13.33 MB / 2.037 GB, free: 164.1 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.csv","../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches