Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.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.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.431/1.431, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001242/0.001242, allocations: 171.5 kB / 326.5 MB, free: 2.25 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.877/1.877, allocations: 205.4 MB / 0.5775 GB, free: 20.56 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.0009803/0.0009804, allocations: 82.44 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003822, allocations: 11.44 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2725, allocations: 106.4 MB / 0.9001 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1936/0.4662, allocations: 131.4 MB / 1.028 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/0.4666, allocations: 71.95 kB / 1.029 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00198/0.4686, allocations: 0.6726 MB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.825e-06/0.4686, allocations: 0 / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.4687, allocations: 0 / 1.029 GB, free: 11.93 MB / 0.6823 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.0004171/0.4691, allocations: 343.3 kB / 1.03 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.4691, allocations: 11.97 kB / 1.03 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.4692, allocations: 0 / 1.03 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.4693, allocations: 171 kB / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.4693, allocations: 4 kB / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.4693, allocations: 0 / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.4695, allocations: 57.66 kB / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.4696, allocations: 0 / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.4696, allocations: 0 / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.4696, allocations: 3.938 kB / 1.03 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.4698, allocations: 47.95 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.4702, allocations: 248.8 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.4704, allocations: 46.56 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.4704, allocations: 0 / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.4704, allocations: 34.55 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.4704, allocations: 3.938 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0004025/0.4708, allocations: 97.72 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.4709, allocations: 51.41 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.513e-05/0.471, allocations: 92.98 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.471, allocations: 25.7 kB / 1.03 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/0.4711, allocations: 84.14 kB / 1.03 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.4711, allocations: 4.031 kB / 1.03 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-06/0.4711, allocations: 4 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4713, allocations: 322.8 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.78e-05/0.4714, allocations: 19.98 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.311e-05/0.4714, allocations: 19.98 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.943e-05/0.4715, allocations: 27.98 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4716, allocations: 3.938 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001978/0.4718, allocations: 77.66 kB / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.4718, allocations: 8 kB / 1.031 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.4718, allocations: 0 / 1.031 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.4718, allocations: 0 / 1.031 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.4719, allocations: 15.98 kB / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.472, allocations: 0 / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.282e-05/0.472, allocations: 8 kB / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.472, allocations: 3.984 kB / 1.031 GB, free: 9.922 MB / 0.6823 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 () * Number of clocked 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 0.0001065/0.4721, allocations: 117.8 kB / 1.031 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.4722, allocations: 7.938 kB / 1.031 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.4724, allocations: 80.72 kB / 1.031 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4724, allocations: 4.031 kB / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.4725, allocations: 0 / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4725, allocations: 0 / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.4727, allocations: 165.5 kB / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.4727, allocations: 0 / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.428e-05/0.4728, allocations: 12 kB / 1.031 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.4728, allocations: 0 / 1.031 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.4728, allocations: 0 / 1.031 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4728, allocations: 4 kB / 1.031 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4728, allocations: 3.984 kB / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.4731, allocations: 171.4 kB / 1.031 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/0.4731, allocations: 81.09 kB / 1.032 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.4732, allocations: 32 / 1.032 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.4733, allocations: 12 kB / 1.032 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.4733, allocations: 7.984 kB / 1.032 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.4733, allocations: 0 / 1.032 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.305e-05/0.4734, allocations: 83.45 kB / 1.032 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4734, allocations: 0 / 1.032 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001918/0.4736, allocations: 4 kB / 1.032 GB, free: 9.082 MB / 0.6823 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 () * Number of clocked 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 0.000183/0.4738, allocations: 104.8 kB / 1.032 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002178/0.474, allocations: 43.95 kB / 1.032 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.474, allocations: 4 kB / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.767e-05/0.4741, allocations: 28.05 kB / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.4743, allocations: 5.844 kB / 1.032 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.4746, allocations: 120.5 kB / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.4749, allocations: 0.677 MB / 1.033 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.633e-05/0.475, allocations: 0 / 1.033 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.475, allocations: 19.44 kB / 1.033 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of SimCode: time 5.91e-07/0.475, allocations: 0 / 1.033 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of Templates: time 0.00217/0.4772, allocations: 346.8 kB / 1.033 GB, free: 7.695 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Tan.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches