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: 249.3 MB / 261.8 MB, free: 5.922 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.0009729/0.000973, allocations: 180.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.1 MB / 0.572 GB, free: 10.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.0007734/0.0007734, allocations: 86.48 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.73e-05/3.759e-05, allocations: 8 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2056, allocations: 106.3 MB / 0.8918 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7551/0.9608, allocations: 131.3 MB / 1.02 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.9611, allocations: 74.28 kB / 1.02 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001843/0.9629, allocations: 0.6816 MB / 1.021 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.924e-06/0.963, allocations: 0 / 1.021 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.963, allocations: 4 kB / 1.021 GB, free: 2.676 MB / 0.6355 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.0003849/0.9634, allocations: 334.5 kB / 1.021 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.9634, allocations: 8.031 kB / 1.021 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.9635, allocations: 0 / 1.021 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.9636, allocations: 171 kB / 1.021 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.9637, allocations: 0 / 1.021 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.9637, allocations: 0 / 1.021 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.9638, allocations: 41.31 kB / 1.021 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.9638, allocations: 0 / 1.021 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.9638, allocations: 4 kB / 1.021 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.9638, allocations: 3.984 kB / 1.021 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.452e-05/0.9639, allocations: 14.56 kB / 1.021 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.9642, allocations: 247.3 kB / 1.022 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.728e-05/0.9643, allocations: 26.39 kB / 1.022 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.6e-05/0.9643, allocations: 12.61 kB / 1.022 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.9644, allocations: 8.031 kB / 1.022 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.9644, allocations: 30.56 kB / 1.022 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.9644, allocations: 0 / 1.022 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001515/0.9646, allocations: 49.05 kB / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.9646, allocations: 58.08 kB / 1.022 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.535e-05/0.9647, allocations: 92.94 kB / 1.022 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.9647, allocations: 25.7 kB / 1.022 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.117e-05/0.9648, allocations: 88.16 kB / 1.022 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.9648, allocations: 7.906 kB / 1.022 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.9648, allocations: 0 / 1.022 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.9649, allocations: 318.7 kB / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.9649, allocations: 4 kB / 1.022 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.375e-05/0.965, allocations: 7.812 kB / 1.022 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.749e-05/0.965, allocations: 0 / 1.022 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.965, allocations: 0 / 1.022 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.862e-05/0.9651, allocations: 48.78 kB / 1.022 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.9651, allocations: 9.562 kB / 1.022 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.9651, allocations: 0 / 1.022 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.9651, allocations: 4 kB / 1.022 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.9652, allocations: 11.98 kB / 1.022 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.9652, allocations: 0 / 1.022 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.9653, allocations: 4 kB / 1.022 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.9653, allocations: 0 / 1.022 GB, free: 0.9141 MB / 0.6355 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 6.652e-05/0.9654, allocations: 116.3 kB / 1.022 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.9654, allocations: 0 / 1.022 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.9655, allocations: 48.58 kB / 1.023 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.9655, allocations: 4 kB / 1.023 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.9656, allocations: 7.922 kB / 1.023 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.9656, allocations: 0 / 1.023 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.9657, allocations: 161.4 kB / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.9657, allocations: 0.875 kB / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.053e-05/0.9658, allocations: 16.02 kB / 1.023 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.9658, allocations: 0 / 1.023 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.9658, allocations: 0 / 1.023 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.9658, allocations: 0 / 1.023 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.9658, allocations: 7.438 kB / 1.023 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.966, allocations: 142.4 kB / 1.023 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.571e-05/0.966, allocations: 81.11 kB / 1.023 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.966, allocations: 0 / 1.023 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.543e-05/0.9661, allocations: 14.61 kB / 1.023 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.9662, allocations: 4 kB / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.9662, allocations: 0 / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.108e-05/0.9662, allocations: 83.09 kB / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of sort global known variables: time 2.044e-06/0.9662, allocations: 0 / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002081/0.9665, allocations: 7.938 kB / 1.023 GB, free: 168 kB / 0.6355 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 0.0001606/0.9666, allocations: 95.25 kB / 1.023 GB, free: 64 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.868e-05/0.9667, allocations: 19.56 kB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.9667, allocations: 4 kB / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.55e-05/0.9668, allocations: 10.98 kB / 1.023 GB, free: 36 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.967, allocations: 3.953 kB / 1.023 GB, free: 32 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002467/0.9672, allocations: 64.92 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.9675, allocations: 0.677 MB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.376e-05/0.9675, allocations: 4.125 kB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.9676, allocations: 11.44 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of SimCode: time 1.563e-06/0.9676, allocations: 3.938 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of Templates: time 0.002245/0.9698, allocations: 364.6 kB / 1.024 GB, free: 14.88 MB / 0.6511 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