Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 103 kB / 16.36 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001487/0.001488, allocations: 198.3 kB / 17.3 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.564/2.564, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 66.78 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3601, allocations: 153 MB / 1.027 GB, free: 2.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002418/0.3626, allocations: 0.6785 MB / 1.027 GB, free: 1.348 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.3637, allocations: 0.8142 MB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.643e-05/0.3637, allocations: 3.938 kB / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.911e-05/0.3638, allocations: 3.938 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.887e-05/0.3639, allocations: 7.984 kB / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.3641, allocations: 11.94 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.403e-05/0.3642, allocations: 19.98 kB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.3643, allocations: 7.984 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.99e-05/0.3644, allocations: 7.938 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.138e-05/0.3644, allocations: 7.984 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.3644, allocations: 7.938 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.298e-06/0.3645, allocations: 3.938 kB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.3645, allocations: 4 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.192e-05/0.3645, allocations: 19.92 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.787e-05/0.3646, allocations: 15.97 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3646, allocations: 0 / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3646, allocations: 0 / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.3646, allocations: 0 / 1.028 GB, free: 412 kB / 0.795 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.0005068/0.3651, allocations: 339.5 kB / 1.029 GB, free: 20 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.3652, allocations: 12.02 kB / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.3652, allocations: 4.844 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.3654, allocations: 164.4 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.3654, allocations: 4.375 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.3654, allocations: 384 / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.3656, allocations: 54.17 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.3656, allocations: 192 / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3656, allocations: 3.938 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3657, allocations: 0 / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.3658, allocations: 39.89 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.3662, allocations: 245 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.3663, allocations: 38.5 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.498e-05/0.3664, allocations: 24.91 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.3664, allocations: 3.984 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.3665, allocations: 34.56 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.3665, allocations: 3.938 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003401/0.3668, allocations: 81.64 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.3669, allocations: 51.41 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.516e-05/0.367, allocations: 97.84 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.367, allocations: 29.7 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/0.367, allocations: 88.27 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.3671, allocations: 3.906 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.3671, allocations: 13.7 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3672, allocations: 318.8 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.127e-05/0.3673, allocations: 11.98 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.92e-05/0.3674, allocations: 19.92 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.3675, allocations: 48.81 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3675, allocations: 0 / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002395/0.3678, allocations: 73.5 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3678, allocations: 4 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.3678, allocations: 0 / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3678, allocations: 0 / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.26e-05/0.3679, allocations: 12 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.368, allocations: 4.031 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.368, allocations: 7.984 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.368, allocations: 0 / 1.03 GB, free: 14.38 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.294e-05/0.3681, allocations: 117.7 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.3681, allocations: 4 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.3684, allocations: 72.7 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3684, allocations: 4.031 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3684, allocations: 0 / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3684, allocations: 3.938 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.3686, allocations: 161.6 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3686, allocations: 0 / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.911e-05/0.3686, allocations: 7.984 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3686, allocations: 0 / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.3687, allocations: 4 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3687, allocations: 4 kB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3687, allocations: 0 / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.3689, allocations: 167.4 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.369, allocations: 81.02 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.369, allocations: 0 / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.21e-05/0.3691, allocations: 7.984 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.3691, allocations: 4 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.3691, allocations: 4.031 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.98e-05/0.3692, allocations: 83.27 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3692, allocations: 0 / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002222/0.3694, allocations: 7.938 kB / 1.031 GB, free: 13.55 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001447/0.3696, allocations: 99.25 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.3698, allocations: 31.97 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3698, allocations: 4.062 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.121e-05/0.3699, allocations: 27.91 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.3702, allocations: 7.938 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.3705, allocations: 102.2 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.3708, allocations: 0.6768 MB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.482e-05/0.3708, allocations: 7.938 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.3708, allocations: 15.5 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.3708, allocations: 0 / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of Templates: time 0.00325/0.3741, allocations: 434.4 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches