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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001182/0.001182, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.469/1.469, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.966/2.966, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.0013, allocations: 68.59 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3537, allocations: 159.9 MB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002775/0.3565, allocations: 0.6517 MB / 1.069 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.3577, allocations: 0.81 MB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.944e-05/0.3578, allocations: 0 / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.931e-05/0.3578, allocations: 4 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.581e-05/0.3579, allocations: 7.922 kB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.358, allocations: 12 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.408e-05/0.3581, allocations: 23.92 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.3582, allocations: 8 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.307e-05/0.3583, allocations: 11.92 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.955e-05/0.3584, allocations: 8 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.3584, allocations: 7.922 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.501e-05/0.3584, allocations: 4 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.3584, allocations: 11.92 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/0.3585, allocations: 7.938 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.905e-05/0.3585, allocations: 15.97 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3585, allocations: 4 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3586, allocations: 0 / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.3586, allocations: 0 / 1.07 GB, free: 8.754 MB / 0.8262 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.0004879/0.3591, allocations: 343.6 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3591, allocations: 8.031 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.3591, allocations: 4.938 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.3593, allocations: 168.4 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.3593, allocations: 4.375 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.3593, allocations: 4.375 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.3595, allocations: 50.22 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3595, allocations: 192 / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.3595, allocations: 7.938 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.3596, allocations: 0 / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.3597, allocations: 35.91 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.3601, allocations: 248.9 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.3603, allocations: 46.53 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.003e-05/0.3604, allocations: 16.91 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.3604, allocations: 0 / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.3604, allocations: 38.56 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3604, allocations: 0 / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004039/0.3608, allocations: 85.48 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.3609, allocations: 51.41 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.361, allocations: 105.8 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.361, allocations: 29.83 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.452e-05/0.3611, allocations: 80.14 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.3611, allocations: 7.906 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.3612, allocations: 13.72 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3613, allocations: 314.8 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.683e-05/0.3614, allocations: 15.98 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.179e-05/0.3615, allocations: 15.98 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.3616, allocations: 36.89 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3616, allocations: 0 / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001926/0.3618, allocations: 77.53 kB / 1.072 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.3619, allocations: 5.562 kB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.3619, allocations: 0 / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3619, allocations: 4 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.362, allocations: 12.02 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.362, allocations: 3.938 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.254e-05/0.3621, allocations: 7.984 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.3621, allocations: 0 / 1.072 GB, free: 6.723 MB / 0.8262 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 9.76e-05/0.3622, allocations: 113.8 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.3622, allocations: 0 / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002508/0.3625, allocations: 80.72 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.3625, allocations: 0 / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3625, allocations: 0 / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3625, allocations: 0 / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.3627, allocations: 165.6 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3627, allocations: 0 / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.811e-05/0.3628, allocations: 11.98 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3628, allocations: 3.938 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.3628, allocations: 0 / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3628, allocations: 0 / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.3628, allocations: 4.031 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.363, allocations: 167.4 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.3631, allocations: 77.11 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.3631, allocations: 0 / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/0.3632, allocations: 7.984 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.3632, allocations: 11.97 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.3632, allocations: 4 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.719e-05/0.3633, allocations: 87.45 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3633, allocations: 0 / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000211/0.3635, allocations: 7.938 kB / 1.072 GB, free: 5.895 MB / 0.8262 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.0001594/0.3637, allocations: 99.77 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.3639, allocations: 35.97 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3639, allocations: 0 / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.238e-05/0.364, allocations: 19.98 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.3643, allocations: 11.92 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003082/0.3646, allocations: 114 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.3648, allocations: 0.6769 MB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.098e-05/0.3649, allocations: 0 / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.3649, allocations: 7.438 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3649, allocations: 0 / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of Templates: time 0.002587/0.3675, allocations: 436.8 kB / 1.074 GB, free: 4.449 MB / 0.8262 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 -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/jenkins/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