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.489/1.489, allocations: 249.5 MB / 257 MB, free: 7.066 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.001014/0.001014, allocations: 176 kB / 316.3 MB, free: 3.32 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.61/1.61, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0009478/0.0009475, allocations: 85.02 kB / 0.6714 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.866e-05/1.871e-05, allocations: 12 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2165, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7265/0.943, allocations: 131.6 MB / 1.014 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.9433, allocations: 70.77 kB / 1.014 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001717/0.945, allocations: 0.6739 MB / 1.015 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.583e-06/0.945, allocations: 0 / 1.015 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.945, allocations: 0 / 1.015 GB, free: 5.547 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.0003643/0.9454, allocations: 331.2 kB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.9455, allocations: 12.03 kB / 1.015 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.9455, allocations: 4 kB / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.9456, allocations: 171 kB / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.9457, allocations: 0 / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.9457, allocations: 7.984 kB / 1.015 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.951e-05/0.9457, allocations: 8.625 kB / 1.015 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.1e-05/0.9458, allocations: 33.45 kB / 1.015 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.9458, allocations: 0 / 1.015 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.9459, allocations: 4 kB / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.9459, allocations: 0 / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003104/0.9462, allocations: 237.2 kB / 1.015 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.147e-05/0.9462, allocations: 26.39 kB / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.394e-05/0.9463, allocations: 8.922 kB / 1.015 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.9463, allocations: 3.938 kB / 1.015 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.934e-05/0.9464, allocations: 30.56 kB / 1.015 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.9464, allocations: 0 / 1.015 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001588/0.9466, allocations: 45.36 kB / 1.015 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.9466, allocations: 54.14 kB / 1.015 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.725e-05/0.9467, allocations: 96.8 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.9467, allocations: 29.7 kB / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.9468, allocations: 80.14 kB / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.9468, allocations: 7.719 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.9468, allocations: 3.938 kB / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.9469, allocations: 314.8 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.9469, allocations: 8.031 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.194e-05/0.947, allocations: 7.875 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.597e-05/0.947, allocations: 0 / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.947, allocations: 7.984 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.177e-05/0.9471, allocations: 37.52 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.9471, allocations: 4 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.9471, allocations: 0 / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.9471, allocations: 0 / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.9472, allocations: 20.08 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.9472, allocations: 0 / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.08e-05/0.9473, allocations: 4 kB / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.9473, allocations: 3.984 kB / 1.016 GB, free: 3.82 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 7.681e-05/0.9474, allocations: 108.9 kB / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.9474, allocations: 0 / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.9475, allocations: 53.27 kB / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.9475, allocations: 4.031 kB / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.9475, allocations: 0 / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.9476, allocations: 0 / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.9477, allocations: 138 kB / 1.016 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.9477, allocations: 7.953 kB / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.523e-05/0.9478, allocations: 11.98 kB / 1.016 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.9478, allocations: 0 / 1.016 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.9478, allocations: 2.188 kB / 1.016 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.9478, allocations: 0 / 1.016 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.9478, allocations: 3.984 kB / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.9479, allocations: 151 kB / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.709e-05/0.948, allocations: 81.06 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.948, allocations: 0 / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.343e-05/0.9481, allocations: 11.98 kB / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.9481, allocations: 0 / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.9481, allocations: 0 / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.704e-05/0.9482, allocations: 91.42 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9482, allocations: 0 / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002074/0.9484, allocations: 4 kB / 1.017 GB, free: 3.094 MB / 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.0001289/0.9485, allocations: 95.25 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.071e-05/0.9486, allocations: 15.8 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.9486, allocations: 0 / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.183e-05/0.9486, allocations: 11.88 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.9488, allocations: 5.844 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002065/0.949, allocations: 63.75 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.9493, allocations: 0.6807 MB / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.269e-05/0.9494, allocations: 0 / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.373e-05/0.9494, allocations: 7.438 kB / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/0.9494, allocations: 0 / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of Templates: time 0.002018/0.9514, allocations: 325.9 kB / 1.018 GB, free: 1.867 MB / 0.6355 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