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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.321/2.321, allocations: 390.3 MB / 405.3 MB, free: 13.55 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.001157/0.001157, allocations: 181.1 kB / 498.1 MB, free: 5.809 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.834/1.834, allocations: 223.2 MB / 0.7948 GB, free: 18.89 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.0009797/0.0009798, allocations: 102.8 kB / 0.9346 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0006091/0.0006092, allocations: 10.81 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3268, allocations: 142.4 MB / 1.223 GB, free: 89.59 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1976/0.5245, allocations: 148.8 MB / 1.368 GB, free: 4.57 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.5248, allocations: 67.95 kB / 1.368 GB, free: 4.504 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002064/0.5269, allocations: 0.6765 MB / 1.369 GB, free: 3.824 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.178e-06/0.5269, allocations: 0 / 1.369 GB, free: 3.824 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.527, allocations: 0 / 1.369 GB, free: 3.824 MB / 0.8698 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.0005075/0.5275, allocations: 343.2 kB / 1.369 GB, free: 3.441 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.5275, allocations: 12.02 kB / 1.369 GB, free: 3.43 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.5276, allocations: 4 kB / 1.369 GB, free: 3.426 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.5278, allocations: 163 kB / 1.369 GB, free: 3.227 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.5278, allocations: 4 kB / 1.369 GB, free: 3.223 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.5279, allocations: 4 kB / 1.369 GB, free: 3.219 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.5281, allocations: 59.7 kB / 1.37 GB, free: 3.156 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.5281, allocations: 0 / 1.37 GB, free: 3.156 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.5281, allocations: 0 / 1.37 GB, free: 3.156 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.5281, allocations: 0 / 1.37 GB, free: 3.156 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.5283, allocations: 47.95 kB / 1.37 GB, free: 3.109 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004465/0.5288, allocations: 248.9 kB / 1.37 GB, free: 2.816 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.5289, allocations: 46.5 kB / 1.37 GB, free: 2.762 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.529, allocations: 4.062 kB / 1.37 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.529, allocations: 30.56 kB / 1.37 GB, free: 2.719 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.529, allocations: 0 / 1.37 GB, free: 2.719 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0004203/0.5294, allocations: 101.6 kB / 1.37 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.5295, allocations: 51.41 kB / 1.37 GB, free: 2.551 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.758e-05/0.5296, allocations: 96.98 kB / 1.37 GB, free: 2.449 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.5296, allocations: 25.7 kB / 1.37 GB, free: 2.418 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/0.5297, allocations: 88.05 kB / 1.37 GB, free: 2.328 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.5297, allocations: 4.125 kB / 1.37 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.5297, allocations: 0 / 1.37 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5298, allocations: 318.8 kB / 1.371 GB, free: 2.004 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.608e-05/0.5299, allocations: 23.97 kB / 1.371 GB, free: 1.98 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.747e-05/0.53, allocations: 23.98 kB / 1.371 GB, free: 1.957 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.554e-05/0.5301, allocations: 19.98 kB / 1.371 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.5301, allocations: 0 / 1.371 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002142/0.5303, allocations: 85.56 kB / 1.371 GB, free: 1.848 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.5304, allocations: 4 kB / 1.371 GB, free: 1.844 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.5304, allocations: 0 / 1.371 GB, free: 1.844 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.5304, allocations: 4 kB / 1.371 GB, free: 1.84 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.5305, allocations: 11.98 kB / 1.371 GB, free: 1.828 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.5305, allocations: 0 / 1.371 GB, free: 1.828 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.54e-05/0.5306, allocations: 7.938 kB / 1.371 GB, free: 1.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-06/0.5306, allocations: 12.03 kB / 1.371 GB, free: 1.809 MB / 0.8698 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.572e-05/0.5307, allocations: 113.8 kB / 1.371 GB, free: 1.688 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.5307, allocations: 0 / 1.371 GB, free: 1.688 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002529/0.531, allocations: 80.97 kB / 1.371 GB, free: 1.602 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.531, allocations: 8.016 kB / 1.371 GB, free: 1.594 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.531, allocations: 0 / 1.371 GB, free: 1.594 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.531, allocations: 0 / 1.371 GB, free: 1.594 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.5312, allocations: 161.6 kB / 1.371 GB, free: 1.387 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.5312, allocations: 3.938 kB / 1.371 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.609e-05/0.5313, allocations: 11.98 kB / 1.371 GB, free: 1.371 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.5313, allocations: 0 / 1.371 GB, free: 1.371 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.5313, allocations: 0 / 1.371 GB, free: 1.371 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.5313, allocations: 0 / 1.371 GB, free: 1.371 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.5313, allocations: 11.88 kB / 1.371 GB, free: 1.359 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.5316, allocations: 171.5 kB / 1.371 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/0.5316, allocations: 81.02 kB / 1.371 GB, free: 1.078 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.5317, allocations: 12.02 kB / 1.371 GB, free: 1.066 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.018e-05/0.5318, allocations: 12 kB / 1.371 GB, free: 1.055 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/0.5318, allocations: 3.984 kB / 1.371 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.5318, allocations: 0 / 1.371 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.914e-05/0.5319, allocations: 79.28 kB / 1.371 GB, free: 0.9727 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5319, allocations: 0 / 1.371 GB, free: 0.9727 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002042/0.5321, allocations: 4 kB / 1.371 GB, free: 0.9688 MB / 0.8698 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.0001656/0.5323, allocations: 107 kB / 1.372 GB, free: 0.8555 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.5325, allocations: 51.95 kB / 1.372 GB, free: 0.8047 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.5325, allocations: 0 / 1.372 GB, free: 0.8047 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.541e-05/0.5326, allocations: 24.05 kB / 1.372 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.5329, allocations: 8.734 kB / 1.372 GB, free: 0.7734 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003033/0.5332, allocations: 104.7 kB / 1.372 GB, free: 0.6367 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.5335, allocations: 0.6809 MB / 1.372 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.731e-05/0.5335, allocations: 0 / 1.372 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.5335, allocations: 11.5 kB / 1.372 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of SimCode: time 2.064e-06/0.5336, allocations: 0 / 1.372 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of Templates: time 0.002308/0.5359, allocations: 354.9 kB / 1.373 GB, free: 15.57 MB / 0.8855 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