Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [: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.931/1.931, allocations: 390.4 MB / 397.7 MB, free: 1.918 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 179 kB / 490.8 MB, free: 7.52 MB / 403 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.3 MB / 0.7863 GB, free: 248 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 84.69 kB / 0.9264 GB, free: 0.6484 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 8.747e-06/8.817e-06, allocations: 4 kB / 1.072 GB, free: 137.5 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2554, allocations: 143 MB / 1.212 GB, free: 10.57 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8773/1.133, allocations: 397.3 MB / 1.6 GB, free: 4.312 MB / 1.065 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/1.133, allocations: 91.94 kB / 1.6 GB, free: 4.223 MB / 1.065 GB Notification: Performance of FrontEnd: time 0.898/2.031, allocations: 177.8 MB / 1.773 GB, free: 327.4 MB / 1.128 GB Notification: Performance of Transformations before backend: time 0.0001025/2.031, allocations: 13.72 kB / 1.773 GB, free: 327.4 MB / 1.128 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.002211/2.034, allocations: 0.7415 MB / 1.774 GB, free: 326.8 MB / 1.128 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/2.034, allocations: 8.438 kB / 1.774 GB, free: 326.8 MB / 1.128 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002691/2.034, allocations: 55.22 kB / 1.774 GB, free: 326.7 MB / 1.128 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/2.035, allocations: 430.6 kB / 1.774 GB, free: 326.4 MB / 1.128 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/2.035, allocations: 6.469 kB / 1.774 GB, free: 326.4 MB / 1.128 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.507e-05/2.035, allocations: 21.81 kB / 1.775 GB, free: 326.4 MB / 1.128 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003306/2.035, allocations: 126.1 kB / 1.775 GB, free: 326.3 MB / 1.128 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/2.036, allocations: 163.3 kB / 1.775 GB, free: 326.2 MB / 1.128 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/2.036, allocations: 4 kB / 1.775 GB, free: 326.2 MB / 1.128 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/2.036, allocations: 1 kB / 1.775 GB, free: 326.2 MB / 1.128 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/2.036, allocations: 4.5 kB / 1.775 GB, free: 326.2 MB / 1.128 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/2.037, allocations: 0.8894 MB / 1.776 GB, free: 325.5 MB / 1.128 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/2.038, allocations: 107 kB / 1.776 GB, free: 325.4 MB / 1.128 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.56e-05/2.038, allocations: 54.22 kB / 1.776 GB, free: 325.4 MB / 1.128 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002605/2.038, allocations: 340.3 kB / 1.776 GB, free: 325 MB / 1.128 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/2.038, allocations: 39.84 kB / 1.776 GB, free: 325 MB / 1.128 GB Notification: Performance of pre-optimization done (n=14): time 1.874e-06/2.038, allocations: 3.938 kB / 1.776 GB, free: 325 MB / 1.128 GB Notification: Performance of matching and sorting (n=14): time 0.0005678/2.039, allocations: 166.2 kB / 1.776 GB, free: 324.9 MB / 1.128 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.047e-05/2.039, allocations: 53.28 kB / 1.776 GB, free: 324.8 MB / 1.128 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004547/2.039, allocations: 364.9 kB / 1.777 GB, free: 324.6 MB / 1.128 GB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/2.039, allocations: 27.55 kB / 1.777 GB, free: 324.6 MB / 1.128 GB Notification: Performance of collectInitialEqns (initialization): time 9.578e-05/2.039, allocations: 168.6 kB / 1.777 GB, free: 324.4 MB / 1.128 GB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/2.039, allocations: 49.23 kB / 1.777 GB, free: 324.4 MB / 1.128 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-06/2.039, allocations: 4 kB / 1.777 GB, free: 324.4 MB / 1.128 GB Notification: Performance of setup shared object (initialization): time 7.252e-05/2.039, allocations: 351.7 kB / 1.777 GB, free: 324 MB / 1.128 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.669e-05/2.039, allocations: 48.84 kB / 1.777 GB, free: 324 MB / 1.128 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/2.04, allocations: 158.2 kB / 1.778 GB, free: 323.9 MB / 1.128 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/2.04, allocations: 73.77 kB / 1.778 GB, free: 323.8 MB / 1.128 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/2.04, allocations: 0 / 1.778 GB, free: 323.8 MB / 1.128 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004681/2.04, allocations: 217.8 kB / 1.778 GB, free: 323.7 MB / 1.128 GB Notification: Performance of prepare postOptimizeDAE: time 6.3e-05/2.04, allocations: 273.3 kB / 1.778 GB, free: 323.4 MB / 1.128 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/2.04, allocations: 5.094 kB / 1.778 GB, free: 323.4 MB / 1.128 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/2.04, allocations: 1.031 kB / 1.778 GB, free: 323.4 MB / 1.128 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/2.041, allocations: 50.78 kB / 1.778 GB, free: 323.4 MB / 1.128 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/2.041, allocations: 1.625 kB / 1.778 GB, free: 323.4 MB / 1.128 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004256/2.041, allocations: 44.89 kB / 1.778 GB, free: 323.4 MB / 1.128 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/2.041, allocations: 11.88 kB / 1.778 GB, free: 323.4 MB / 1.128 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/2.041, allocations: 3.844 kB / 1.778 GB, free: 323.4 MB / 1.128 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003522/2.042, allocations: 138.8 kB / 1.778 GB, free: 323.3 MB / 1.128 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/2.042, allocations: 5.625 kB / 1.778 GB, free: 323.3 MB / 1.128 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-06/2.042, allocations: 1.156 kB / 1.778 GB, free: 323.3 MB / 1.128 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/2.042, allocations: 49.91 kB / 1.778 GB, free: 323.3 MB / 1.128 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/2.042, allocations: 1.562 kB / 1.778 GB, free: 323.3 MB / 1.128 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004396/2.042, allocations: 40.62 kB / 1.778 GB, free: 323.3 MB / 1.128 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/2.042, allocations: 15.77 kB / 1.778 GB, free: 323.3 MB / 1.128 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 (24): * Single equations (assignments): 24 * 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 9.466e-05/2.042, allocations: 107.6 kB / 1.779 GB, free: 323.2 MB / 1.128 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.991e-05/2.043, allocations: 42.06 kB / 1.779 GB, free: 323.2 MB / 1.128 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005682/2.043, allocations: 222.5 kB / 1.779 GB, free: 323 MB / 1.128 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/2.043, allocations: 2.281 kB / 1.779 GB, free: 323 MB / 1.128 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/2.043, allocations: 3.938 kB / 1.779 GB, free: 323 MB / 1.128 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/2.043, allocations: 4.609 kB / 1.779 GB, free: 323 MB / 1.128 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/2.044, allocations: 0.6265 MB / 1.779 GB, free: 322.5 MB / 1.128 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/2.044, allocations: 1.469 kB / 1.779 GB, free: 322.5 MB / 1.128 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/2.044, allocations: 29.27 kB / 1.779 GB, free: 322.5 MB / 1.128 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/2.044, allocations: 5.984 kB / 1.779 GB, free: 322.5 MB / 1.128 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/2.044, allocations: 6.656 kB / 1.779 GB, free: 322.5 MB / 1.128 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/2.044, allocations: 13.98 kB / 1.779 GB, free: 322.5 MB / 1.128 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/2.044, allocations: 1.781 kB / 1.779 GB, free: 322.5 MB / 1.128 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004494/2.045, allocations: 361.5 kB / 1.78 GB, free: 322.2 MB / 1.128 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/2.045, allocations: 139.3 kB / 1.78 GB, free: 322 MB / 1.128 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.458e-05/2.045, allocations: 6.344 kB / 1.78 GB, free: 322 MB / 1.128 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/2.045, allocations: 24.91 kB / 1.78 GB, free: 322 MB / 1.128 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/2.046, allocations: 15.92 kB / 1.78 GB, free: 322 MB / 1.128 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/2.046, allocations: 12 kB / 1.78 GB, free: 322 MB / 1.128 GB Notification: Performance of sort global known variables: time 0.000248/2.046, allocations: 271.2 kB / 1.78 GB, free: 321.7 MB / 1.128 GB Notification: Performance of remove unused functions: time 0.0008801/2.047, allocations: 235.4 kB / 1.78 GB, free: 321.5 MB / 1.128 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001111/2.048, allocations: 0.4909 MB / 1.781 GB, free: 321.1 MB / 1.128 GB Notification: Performance of simCode: created initialization part: time 0.0004107/2.048, allocations: 238.2 kB / 1.781 GB, free: 320.9 MB / 1.128 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/2.048, allocations: 0 / 1.781 GB, free: 320.9 MB / 1.128 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/2.048, allocations: 71.92 kB / 1.781 GB, free: 320.8 MB / 1.128 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009784/2.049, allocations: 186 kB / 1.781 GB, free: 320.6 MB / 1.128 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/2.05, allocations: 0.4966 MB / 1.782 GB, free: 320.1 MB / 1.128 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/2.051, allocations: 0.8776 MB / 1.783 GB, free: 319.2 MB / 1.128 GB Notification: Performance of SimCode: time 3.7e-07/2.051, allocations: 0 / 1.783 GB, free: 319.2 MB / 1.128 GB Notification: Performance of Templates: time 0.0145/2.065, allocations: 9.195 MB / 1.792 GB, free: 310.1 MB / 1.128 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches