Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.471/2.471, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001305/0.001305, allocations: 182 kB / 0.4902 GB, free: 2.258 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.582/1.582, allocations: 223.1 MB / 0.7992 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 107.3 kB / 0.9396 GB, free: 2.777 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003993/0.0003992, allocations: 11.67 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3112, allocations: 143 MB / 1.229 GB, free: 85.44 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2031/0.5144, allocations: 149.6 MB / 1.375 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.5147, allocations: 71.95 kB / 1.375 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.001826/0.5165, allocations: 0.6726 MB / 1.376 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5165, allocations: 0 / 1.376 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.5166, allocations: 0 / 1.376 GB, free: 14.88 MB / 0.8855 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.0003829/0.517, allocations: 339.3 kB / 1.376 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.517, allocations: 12.03 kB / 1.376 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.517, allocations: 7.906 kB / 1.376 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.5172, allocations: 167 kB / 1.377 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.5172, allocations: 0 / 1.377 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.5172, allocations: 4 kB / 1.377 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.5174, allocations: 59.7 kB / 1.377 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.5174, allocations: 0 / 1.377 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.5174, allocations: 0 / 1.377 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.5175, allocations: 0 / 1.377 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.5176, allocations: 47.95 kB / 1.377 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.518, allocations: 244.9 kB / 1.377 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.5181, allocations: 46.5 kB / 1.377 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.5181, allocations: 4.062 kB / 1.377 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.5182, allocations: 38.55 kB / 1.377 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.5182, allocations: 0 / 1.377 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.000361/0.5185, allocations: 93.66 kB / 1.377 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.5186, allocations: 51.41 kB / 1.377 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.543e-05/0.5187, allocations: 92.98 kB / 1.377 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.5187, allocations: 29.83 kB / 1.377 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.5187, allocations: 88.14 kB / 1.377 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.5188, allocations: 3.906 kB / 1.377 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.5188, allocations: 0 / 1.377 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.675e-05/0.5189, allocations: 322.7 kB / 1.378 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.018e-05/0.519, allocations: 23.98 kB / 1.378 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.498e-05/0.5191, allocations: 19.98 kB / 1.378 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.707e-05/0.5192, allocations: 23.98 kB / 1.378 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5192, allocations: 0 / 1.378 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002091/0.5194, allocations: 81.62 kB / 1.378 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.5194, allocations: 4 kB / 1.378 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.5194, allocations: 4 kB / 1.378 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.5195, allocations: 0 / 1.378 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.5196, allocations: 11.98 kB / 1.378 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.5196, allocations: 0 / 1.378 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.717e-05/0.5196, allocations: 12.16 kB / 1.378 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.5197, allocations: 7.984 kB / 1.378 GB, free: 12.87 MB / 0.8855 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 8.384e-05/0.5197, allocations: 119.6 kB / 1.378 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.5198, allocations: 7.922 kB / 1.378 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.52, allocations: 80.78 kB / 1.378 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.52, allocations: 3.938 kB / 1.378 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.52, allocations: 0 / 1.378 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.5201, allocations: 4 kB / 1.378 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.5202, allocations: 161.6 kB / 1.378 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5202, allocations: 0 / 1.378 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.702e-05/0.5203, allocations: 12 kB / 1.378 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.5203, allocations: 0 / 1.378 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.5203, allocations: 4.031 kB / 1.378 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.5203, allocations: 0 / 1.378 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.5203, allocations: 3.984 kB / 1.378 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.5206, allocations: 175.4 kB / 1.378 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.5206, allocations: 81.09 kB / 1.378 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.5207, allocations: 0 / 1.378 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.5207, allocations: 8 kB / 1.378 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.5208, allocations: 7.984 kB / 1.378 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.5208, allocations: 0 / 1.378 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.313e-05/0.5208, allocations: 79.28 kB / 1.379 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5208, allocations: 0 / 1.379 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001994/0.5211, allocations: 7.906 kB / 1.379 GB, free: 12.03 MB / 0.8855 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.0001424/0.5212, allocations: 99.28 kB / 1.379 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002109/0.5214, allocations: 47.95 kB / 1.379 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5214, allocations: 64 / 1.379 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.743e-05/0.5215, allocations: 31.92 kB / 1.379 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.5217, allocations: 7.953 kB / 1.379 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/0.522, allocations: 108.1 kB / 1.379 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.5223, allocations: 0.681 MB / 1.38 GB, free: 11 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.52e-05/0.5223, allocations: 7.938 kB / 1.38 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.5223, allocations: 7.438 kB / 1.38 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of SimCode: time 3.7e-07/0.5223, allocations: 0 / 1.38 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of Templates: time 0.002143/0.5245, allocations: 357.8 kB / 1.38 GB, free: 10.64 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Tan.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches