Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") [: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 9.1.1-maint.9.1.x/package.mo): time 1.77/1.77, allocations: 387.2 MB / 394.5 MB, free: 13.56 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.0009317/0.0009316, allocations: 184.6 kB / 487 MB, free: 5.305 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.124/1.124, allocations: 221.3 MB / 0.7819 GB, free: 1.305 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008333/0.0008333, allocations: 104.9 kB / 0.9213 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.035e-06/8.055e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1907, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5233/0.714, allocations: 148 MB / 1.35 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001343/0.7142, allocations: 70.08 kB / 1.35 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.001312/0.7155, allocations: 374.2 kB / 1.35 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.7156, allocations: 0 / 1.35 GB, free: 15.79 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002222/0.7158, allocations: 335.8 kB / 1.351 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.7158, allocations: 9.969 kB / 1.351 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.461e-05/0.7159, allocations: 3.906 kB / 1.351 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.46e-05/0.7159, allocations: 162.4 kB / 1.351 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.7159, allocations: 1.781 kB / 1.351 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.716, allocations: 0 / 1.351 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.786e-05/0.716, allocations: 10.86 kB / 1.351 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.31e-05/0.7161, allocations: 40.34 kB / 1.351 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.7161, allocations: 0 / 1.351 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.7161, allocations: 7.906 kB / 1.351 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.7161, allocations: 1.812 kB / 1.351 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002021/0.7163, allocations: 226.5 kB / 1.351 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.083e-05/0.7164, allocations: 26.53 kB / 1.351 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.133e-05/0.7164, allocations: 12.39 kB / 1.351 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.7164, allocations: 0 / 1.351 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.7164, allocations: 41.5 kB / 1.351 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.7164, allocations: 3.938 kB / 1.351 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.000114/0.7166, allocations: 38.88 kB / 1.351 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.451e-05/0.7166, allocations: 52.53 kB / 1.351 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.362e-05/0.7166, allocations: 94.02 kB / 1.351 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/0.7166, allocations: 26.73 kB / 1.351 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.538e-05/0.7167, allocations: 82.89 kB / 1.351 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.108e-05/0.7167, allocations: 7.938 kB / 1.351 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/0.7167, allocations: 1.062 kB / 1.351 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.174e-05/0.7167, allocations: 313.1 kB / 1.352 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.337e-05/0.7167, allocations: 6.875 kB / 1.352 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.079e-05/0.7168, allocations: 2.312 kB / 1.352 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.523e-05/0.7168, allocations: 5.188 kB / 1.352 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.7168, allocations: 2.891 kB / 1.352 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.764e-05/0.7168, allocations: 49.38 kB / 1.352 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.716e-06/0.7169, allocations: 5.219 kB / 1.352 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.7169, allocations: 4.625 kB / 1.352 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.7169, allocations: 3.938 kB / 1.352 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.194e-05/0.717, allocations: 13.08 kB / 1.352 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.717, allocations: 0 / 1.352 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.248e-05/0.717, allocations: 8.5 kB / 1.352 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.7171, allocations: 5.25 kB / 1.352 GB, free: 14.21 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 3.54e-05/0.7171, allocations: 104.2 kB / 1.352 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.7171, allocations: 5.219 kB / 1.352 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.645e-05/0.7172, allocations: 42.92 kB / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.7172, allocations: 2.844 kB / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.7172, allocations: 0 / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.7172, allocations: 0 / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.708e-05/0.7173, allocations: 147.3 kB / 1.352 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.7173, allocations: 4.031 kB / 1.352 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.576e-05/0.7174, allocations: 15.98 kB / 1.352 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.7174, allocations: 0 / 1.352 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-06/0.7174, allocations: 1.312 kB / 1.352 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.7174, allocations: 0 / 1.352 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7174, allocations: 0 / 1.352 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.933e-05/0.7175, allocations: 145.5 kB / 1.352 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.37e-05/0.7175, allocations: 78.42 kB / 1.352 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.7175, allocations: 0 / 1.352 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.513e-05/0.7176, allocations: 9.641 kB / 1.352 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.7177, allocations: 6.422 kB / 1.352 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.7177, allocations: 1.344 kB / 1.352 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.78e-05/0.7177, allocations: 83.47 kB / 1.352 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001899/0.7179, allocations: 7.906 kB / 1.352 GB, free: 13.59 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 8.483e-05/0.718, allocations: 97.34 kB / 1.352 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.641e-05/0.718, allocations: 16.69 kB / 1.352 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.718, allocations: 1.25 kB / 1.352 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.741e-05/0.7181, allocations: 7.469 kB / 1.352 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.7182, allocations: 6.609 kB / 1.353 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001488/0.7184, allocations: 63.59 kB / 1.353 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.7185, allocations: 0.6875 MB / 1.353 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of SimCode: time 2.31e-07/0.7185, allocations: 0 / 1.353 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of Templates: time 0.001642/0.7201, allocations: 399.9 kB / 1.354 GB, free: 12.68 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Tan.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches