Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.181/1.181, allocations: 249.4 MB / 256.7 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009689/0.0009689, allocations: 189.2 kB / 316 MB, free: 3.512 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.043/1.043, allocations: 205.2 MB / 0.5667 GB, free: 15.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007557/0.0007559, allocations: 79.02 kB / 0.671 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.36e-06/5.39e-06, allocations: 0 / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.136, allocations: 106.3 MB / 0.8846 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8578/0.9938, allocations: 391.3 MB / 1.267 GB, free: 282.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.994, allocations: 94.97 kB / 1.267 GB, free: 282.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.8863/1.88, allocations: 396.9 MB / 1.654 GB, free: 202.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.095e-05/1.88, allocations: 28.2 kB / 1.654 GB, free: 202.8 MB / 0.8698 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.001279/1.882, allocations: 1.039 MB / 1.655 GB, free: 202.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/1.882, allocations: 7.594 kB / 1.655 GB, free: 202.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/1.882, allocations: 100 kB / 1.656 GB, free: 202.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007745/1.883, allocations: 0.5824 MB / 1.656 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/1.883, allocations: 15 kB / 1.656 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.729e-05/1.883, allocations: 37.84 kB / 1.656 GB, free: 202 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003797/1.883, allocations: 241.6 kB / 1.656 GB, free: 202 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/1.884, allocations: 310.9 kB / 1.657 GB, free: 202 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/1.884, allocations: 0 / 1.657 GB, free: 202 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/1.884, allocations: 0 / 1.657 GB, free: 202 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/1.884, allocations: 9.469 kB / 1.657 GB, free: 202 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/1.885, allocations: 1.761 MB / 1.658 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/1.886, allocations: 151.6 kB / 1.659 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.511e-05/1.886, allocations: 61.14 kB / 1.659 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002004/1.886, allocations: 342.2 kB / 1.659 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/1.886, allocations: 34.34 kB / 1.659 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 1.293e-06/1.886, allocations: 5.281 kB / 1.659 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.0004198/1.886, allocations: 214.7 kB / 1.659 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.772e-05/1.886, allocations: 51.41 kB / 1.659 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003926/1.887, allocations: 489.5 kB / 1.66 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/1.887, allocations: 29.39 kB / 1.66 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/1.887, allocations: 269.5 kB / 1.66 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/1.887, allocations: 63.33 kB / 1.66 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/1.887, allocations: 3.375 kB / 1.66 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.443e-05/1.887, allocations: 367.9 kB / 1.66 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/1.887, allocations: 80 kB / 1.661 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/1.887, allocations: 192.1 kB / 1.661 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/1.887, allocations: 114.7 kB / 1.661 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.888, allocations: 112 / 1.661 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004665/1.888, allocations: 344.6 kB / 1.661 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.404e-05/1.888, allocations: 273.6 kB / 1.661 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/1.888, allocations: 0 / 1.661 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/1.888, allocations: 6.594 kB / 1.661 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008954/1.889, allocations: 136.9 kB / 1.662 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00086/1.89, allocations: 2.403 MB / 1.664 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005173/1.89, allocations: 75.89 kB / 1.664 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.619e-05/1.89, allocations: 17.09 kB / 1.664 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.971e-06/1.89, allocations: 3.5 kB / 1.664 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003832/1.891, allocations: 225.2 kB / 1.664 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-06/1.891, allocations: 3.938 kB / 1.664 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.086e-06/1.891, allocations: 3.281 kB / 1.664 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003981/1.891, allocations: 108.2 kB / 1.664 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/1.891, allocations: 3.906 kB / 1.664 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004408/1.892, allocations: 69.56 kB / 1.664 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/1.892, allocations: 18.06 kB / 1.664 GB, free: 197.1 MB / 0.8698 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 7.512e-05/1.892, allocations: 117.1 kB / 1.664 GB, free: 197 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.581e-05/1.892, allocations: 61.31 kB / 1.665 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004881/1.892, allocations: 267.1 kB / 1.665 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/1.892, allocations: 4.719 kB / 1.665 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.892, allocations: 3.906 kB / 1.665 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/1.892, allocations: 0 / 1.665 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008526/1.893, allocations: 0.7756 MB / 1.666 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/1.893, allocations: 0 / 1.666 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003099/1.894, allocations: 81.94 kB / 1.666 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/1.894, allocations: 6.938 kB / 1.666 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/1.894, allocations: 7.172 kB / 1.666 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005752/1.894, allocations: 2.375 MB / 1.668 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.894, allocations: 0 / 1.668 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003516/1.895, allocations: 399.4 kB / 1.668 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/1.895, allocations: 166.5 kB / 1.669 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.241e-05/1.895, allocations: 2.953 kB / 1.669 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/1.895, allocations: 56.08 kB / 1.669 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/1.895, allocations: 18.45 kB / 1.669 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/1.895, allocations: 7.031 kB / 1.669 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002748/1.896, allocations: 365.6 kB / 1.669 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008447/1.896, allocations: 387.6 kB / 1.669 GB, free: 193.7 MB / 0.8698 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.0005926/1.897, allocations: 477.6 kB / 1.67 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001205/1.898, allocations: 446.9 kB / 1.67 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.898, allocations: 0 / 1.67 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003081/1.899, allocations: 119.5 kB / 1.67 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/1.9, allocations: 279.9 kB / 1.671 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/1.901, allocations: 0.754 MB / 1.671 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003423/1.901, allocations: 0.9992 MB / 1.672 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of SimCode: time 2.8e-07/1.901, allocations: 0 / 1.672 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.01841/1.92, allocations: 13.32 MB / 1.685 GB, free: 192.3 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches