Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.178/1.178, allocations: 249.4 MB / 256.7 MB, free: 7.008 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.001029/0.001029, allocations: 180.4 kB / 316 MB, free: 3.586 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.039/1.039, allocations: 205.1 MB / 0.5667 GB, free: 15.7 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.0008933/0.0008933, allocations: 93.67 kB / 0.671 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.681e-06/5.691e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1336, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8613/0.995, allocations: 423.5 MB / 1.298 GB, free: 289.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.9952, allocations: 99.56 kB / 1.298 GB, free: 289.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.53/3.525, allocations: 1.069 GB / 2.367 GB, free: 94.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001667/3.525, allocations: 72.55 kB / 2.367 GB, free: 94.49 MB / 0.8855 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.003412/3.529, allocations: 2.31 MB / 2.37 GB, free: 93.55 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/3.529, allocations: 7.75 kB / 2.37 GB, free: 93.55 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003186/3.529, allocations: 263.2 kB / 2.37 GB, free: 93.42 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00272/3.532, allocations: 1.642 MB / 2.371 GB, free: 92.97 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/3.532, allocations: 41.52 kB / 2.371 GB, free: 92.97 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/3.532, allocations: 91.84 kB / 2.372 GB, free: 92.97 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001308/3.533, allocations: 0.9058 MB / 2.372 GB, free: 92.96 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/3.535, allocations: 0.9326 MB / 2.373 GB, free: 92.89 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/3.535, allocations: 0 / 2.373 GB, free: 92.89 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.866e-05/3.535, allocations: 0 / 2.373 GB, free: 92.89 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/3.535, allocations: 29.16 kB / 2.373 GB, free: 92.89 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005888/3.541, allocations: 5.969 MB / 2.379 GB, free: 90.26 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006409/3.541, allocations: 0.558 MB / 2.38 GB, free: 90.22 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000372/3.542, allocations: 355.5 kB / 2.38 GB, free: 90.21 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002853/3.542, allocations: 0.5108 MB / 2.381 GB, free: 89.65 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/3.542, allocations: 38.62 kB / 2.381 GB, free: 89.61 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=58): time 1.663e-06/3.542, allocations: 0 / 2.381 GB, free: 89.61 MB / 0.8855 GB Notification: Performance of matching and sorting (n=58): time 0.001287/3.543, allocations: 0.8443 MB / 2.381 GB, free: 89.47 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.798e-05/3.543, allocations: 66.78 kB / 2.382 GB, free: 89.41 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/3.544, allocations: 1.282 MB / 2.383 GB, free: 89.19 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.189e-05/3.545, allocations: 29.64 kB / 2.383 GB, free: 89.16 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/3.545, allocations: 0.5979 MB / 2.383 GB, free: 88.84 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/3.545, allocations: 191.1 kB / 2.384 GB, free: 88.71 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.613e-05/3.545, allocations: 2.219 kB / 2.384 GB, free: 88.71 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.864e-05/3.545, allocations: 348.8 kB / 2.384 GB, free: 88.41 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005193/3.546, allocations: 396.2 kB / 2.384 GB, free: 88.41 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006554/3.546, allocations: 0.7142 MB / 2.385 GB, free: 88.06 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007806/3.547, allocations: 0.4998 MB / 2.385 GB, free: 88.05 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/3.547, allocations: 0 / 2.385 GB, free: 88.05 MB / 0.8855 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001763/3.549, allocations: 1.262 MB / 2.387 GB, free: 87.89 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/3.549, allocations: 0.9212 MB / 2.388 GB, free: 86.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/3.549, allocations: 3.562 kB / 2.388 GB, free: 86.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/3.549, allocations: 6.938 kB / 2.388 GB, free: 86.95 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/3.55, allocations: 283.1 kB / 2.388 GB, free: 86.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/3.55, allocations: 14.91 kB / 2.388 GB, free: 86.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/3.552, allocations: 187 kB / 2.388 GB, free: 86.89 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/3.552, allocations: 64.86 kB / 2.388 GB, free: 86.89 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.619e-06/3.552, allocations: 3.906 kB / 2.388 GB, free: 86.89 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001412/3.553, allocations: 0.9948 MB / 2.389 GB, free: 86.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/3.553, allocations: 7.188 kB / 2.389 GB, free: 86.86 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/3.553, allocations: 7.75 kB / 2.389 GB, free: 86.86 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/3.554, allocations: 283.9 kB / 2.389 GB, free: 86.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/3.554, allocations: 9.062 kB / 2.389 GB, free: 86.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/3.556, allocations: 159.4 kB / 2.39 GB, free: 86.82 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/3.556, allocations: 61.41 kB / 2.39 GB, free: 86.82 MB / 0.8855 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 (146): * Single equations (assignments): 146 * 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.0001745/3.556, allocations: 136.2 kB / 2.39 GB, free: 86.71 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/3.556, allocations: 171.2 kB / 2.39 GB, free: 86.61 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/3.558, allocations: 1.041 MB / 2.391 GB, free: 86.52 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/3.558, allocations: 10.38 kB / 2.391 GB, free: 86.52 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/3.558, allocations: 0 / 2.391 GB, free: 86.52 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/3.558, allocations: 7.203 kB / 2.391 GB, free: 86.52 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/3.56, allocations: 2.194 MB / 2.393 GB, free: 86.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/3.56, allocations: 7.688 kB / 2.393 GB, free: 86.14 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005593/3.561, allocations: 132 kB / 2.393 GB, free: 86.14 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/3.561, allocations: 6.062 kB / 2.393 GB, free: 86.14 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/3.561, allocations: 13.22 kB / 2.393 GB, free: 86.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/3.561, allocations: 5.5 kB / 2.393 GB, free: 86.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/3.561, allocations: 3.875 kB / 2.393 GB, free: 86.14 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001081/3.562, allocations: 1.083 MB / 2.394 GB, free: 85.69 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000383/3.563, allocations: 345.9 kB / 2.395 GB, free: 85.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/3.563, allocations: 10.39 kB / 2.395 GB, free: 85.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008955/3.564, allocations: 95.78 kB / 2.395 GB, free: 85.48 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.911e-05/3.564, allocations: 54.44 kB / 2.395 GB, free: 85.48 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/3.564, allocations: 25.61 kB / 2.395 GB, free: 85.48 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0008625/3.565, allocations: 0.9359 MB / 2.396 GB, free: 85.33 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001831/3.567, allocations: 0.9751 MB / 2.397 GB, free: 85.21 MB / 0.8855 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.001056/3.568, allocations: 0.9868 MB / 2.398 GB, free: 84.95 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001703/3.569, allocations: 1.573 MB / 2.399 GB, free: 84.92 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/3.569, allocations: 0 / 2.399 GB, free: 84.92 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003907/3.57, allocations: 386.4 kB / 2.4 GB, free: 84.92 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003641/3.573, allocations: 0.8966 MB / 2.4 GB, free: 84.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003256/3.577, allocations: 2.241 MB / 2.403 GB, free: 84.21 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009454/3.578, allocations: 1.612 MB / 2.404 GB, free: 83.47 MB / 0.8855 GB Notification: Performance of SimCode: time 3.01e-07/3.578, allocations: 0 / 2.404 GB, free: 83.47 MB / 0.8855 GB Notification: Performance of Templates: time 0.05026/3.628, allocations: 41.7 MB / 2.445 GB, free: 81.69 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches