Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.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.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam.m_flow|vav.m_flow|dam.dp|vav.dp|res.dp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam.m_flow|vav.m_flow|dam.dp|vav.dp|res.dp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") [: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.182/1.182, allocations: 249.4 MB / 256.7 MB, free: 6.977 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.0009919/0.0009919, allocations: 192.4 kB / 316 MB, free: 3.559 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.03/1.03, allocations: 205.1 MB / 0.5667 GB, free: 15.65 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.0008145/0.0008145, allocations: 80.47 kB / 0.671 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.083e-06/7.093e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1387, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.196/3.334, allocations: 2.199 GB / 3.084 GB, free: 204 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/3.335, allocations: 83.95 kB / 3.084 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.019/4.353, allocations: 445.5 MB / 3.519 GB, free: 97.67 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.375e-05/4.353, allocations: 24 kB / 3.519 GB, free: 97.65 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001575/4.355, allocations: 1.087 MB / 3.52 GB, free: 96.52 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/4.355, allocations: 8.031 kB / 3.52 GB, free: 96.51 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000913/4.356, allocations: 182.7 kB / 3.52 GB, free: 96.33 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/4.357, allocations: 0.8042 MB / 3.521 GB, free: 95.48 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/4.357, allocations: 19.89 kB / 3.521 GB, free: 95.46 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.557e-05/4.357, allocations: 35.98 kB / 3.521 GB, free: 95.43 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004081/4.358, allocations: 277.5 kB / 3.521 GB, free: 95.15 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004872/4.358, allocations: 440.7 kB / 3.522 GB, free: 94.68 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/4.358, allocations: 0 / 3.522 GB, free: 94.68 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/4.358, allocations: 0 / 3.522 GB, free: 94.68 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/4.358, allocations: 12 kB / 3.522 GB, free: 94.67 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/4.36, allocations: 1.913 MB / 3.523 GB, free: 92.63 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000439/4.361, allocations: 306.5 kB / 3.524 GB, free: 92.32 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/4.361, allocations: 136.8 kB / 3.524 GB, free: 92.18 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002309/4.361, allocations: 194.2 kB / 3.524 GB, free: 91.96 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/4.361, allocations: 42.5 kB / 3.524 GB, free: 91.91 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 1.433e-06/4.361, allocations: 0 / 3.524 GB, free: 91.91 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26): time 0.000926/4.362, allocations: 398.6 kB / 3.524 GB, free: 91.51 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/4.362, allocations: 213.6 kB / 3.525 GB, free: 91.25 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006673/4.363, allocations: 0.6759 MB / 3.525 GB, free: 90.57 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/4.363, allocations: 29.7 kB / 3.525 GB, free: 90.53 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.711e-05/4.363, allocations: 237.7 kB / 3.526 GB, free: 90.29 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/4.363, allocations: 90.66 kB / 3.526 GB, free: 90.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-05/4.363, allocations: 0 / 3.526 GB, free: 90.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 3.799e-05/4.363, allocations: 321.9 kB / 3.526 GB, free: 89.88 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/4.363, allocations: 132.2 kB / 3.526 GB, free: 89.75 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/4.363, allocations: 341.3 kB / 3.526 GB, free: 89.33 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/4.364, allocations: 175.3 kB / 3.527 GB, free: 89.16 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/4.364, allocations: 7.938 kB / 3.527 GB, free: 89.15 MB / 0.8698 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007273/4.364, allocations: 466.1 kB / 3.527 GB, free: 88.69 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.432e-05/4.364, allocations: 271.5 kB / 3.527 GB, free: 88.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/4.364, allocations: 7.938 kB / 3.527 GB, free: 88.39 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001303/4.365, allocations: 36.78 kB / 3.527 GB, free: 88.36 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000501/4.365, allocations: 87.92 kB / 3.527 GB, free: 88.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004921/4.366, allocations: 1.177 MB / 3.529 GB, free: 87.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008199/4.366, allocations: 103.7 kB / 3.529 GB, free: 86.94 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.512e-05/4.366, allocations: 16.03 kB / 3.529 GB, free: 86.93 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.891e-06/4.367, allocations: 4 kB / 3.529 GB, free: 86.92 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005709/4.367, allocations: 346 kB / 3.529 GB, free: 86.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/4.367, allocations: 7.984 kB / 3.529 GB, free: 86.57 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001213/4.367, allocations: 36.73 kB / 3.529 GB, free: 86.54 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/4.368, allocations: 83.89 kB / 3.529 GB, free: 86.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008224/4.368, allocations: 1.388 MB / 3.531 GB, free: 84.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007488/4.369, allocations: 87.86 kB / 3.531 GB, free: 84.86 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/4.369, allocations: 23.98 kB / 3.531 GB, free: 84.84 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 (31): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001088/4.369, allocations: 116.8 kB / 3.531 GB, free: 84.72 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.791e-05/4.369, allocations: 67.16 kB / 3.531 GB, free: 84.65 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006051/4.37, allocations: 404.5 kB / 3.531 GB, free: 84.24 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/4.37, allocations: 4 kB / 3.531 GB, free: 84.24 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/4.37, allocations: 4 kB / 3.531 GB, free: 84.23 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/4.37, allocations: 3.984 kB / 3.531 GB, free: 84.23 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/4.371, allocations: 1.108 MB / 3.532 GB, free: 83.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/4.371, allocations: 0 / 3.532 GB, free: 83.06 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003617/4.372, allocations: 72.12 kB / 3.532 GB, free: 82.99 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.083e-05/4.372, allocations: 28.83 kB / 3.532 GB, free: 82.96 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/4.372, allocations: 12.19 kB / 3.532 GB, free: 82.95 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003431/4.372, allocations: 1.158 MB / 3.534 GB, free: 81.74 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/4.372, allocations: 160 / 3.534 GB, free: 81.74 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006649/4.373, allocations: 0.7402 MB / 3.534 GB, free: 80.93 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/4.373, allocations: 208 kB / 3.534 GB, free: 80.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/4.373, allocations: 7.938 kB / 3.534 GB, free: 80.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006943/4.374, allocations: 59.83 kB / 3.535 GB, free: 80.64 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/4.374, allocations: 23.97 kB / 3.535 GB, free: 80.61 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/4.374, allocations: 16 kB / 3.535 GB, free: 80.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004861/4.375, allocations: 0.5265 MB / 3.535 GB, free: 80.07 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0011/4.376, allocations: 459.1 kB / 3.535 GB, free: 79.62 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (dam.filter.x[1],dam.filter.x[2],vav.filter.x[1],vav.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001349/4.377, allocations: 1.472 MB / 3.537 GB, free: 78.13 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001122/4.378, allocations: 0.748 MB / 3.538 GB, free: 77.35 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/4.378, allocations: 4 kB / 3.538 GB, free: 77.34 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002617/4.378, allocations: 156.2 kB / 3.538 GB, free: 77.19 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/4.38, allocations: 245.8 kB / 3.538 GB, free: 76.95 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/4.381, allocations: 0.9593 MB / 3.539 GB, free: 75.94 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004673/4.381, allocations: 1.039 MB / 3.54 GB, free: 74.88 MB / 0.8698 GB Notification: Performance of SimCode: time 2.51e-07/4.381, allocations: 4 kB / 3.54 GB, free: 74.87 MB / 0.8698 GB Notification: Performance of Templates: time 0.02803/4.41, allocations: 22.85 MB / 3.562 GB, free: 52.14 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches