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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002031/0.002031, allocations: 103.7 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002071/0.002071, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 249.9 MB, free: 13.45 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.027/3.027, allocations: 489.7 MB / 0.7761 GB, free: 33.68 MB / 0.6231 GB [Timeout remaining time 87] 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=502,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=502,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 69.91 kB / 1.127 GB, free: 36.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2961, allocations: 172.1 MB / 1.295 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002619/0.2988, allocations: 0.6695 MB / 1.296 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.3002, allocations: 0.8145 MB / 1.296 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.64e-05/0.3002, allocations: 4 kB / 1.296 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.326e-05/0.3002, allocations: 4 kB / 1.296 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.088e-05/0.3003, allocations: 3.938 kB / 1.296 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.3005, allocations: 7.984 kB / 1.296 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.807e-05/0.3006, allocations: 27.92 kB / 1.296 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.18e-05/0.3007, allocations: 4 kB / 1.296 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.337e-05/0.3007, allocations: 11.98 kB / 1.296 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.385e-05/0.3008, allocations: 7.938 kB / 1.296 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.3008, allocations: 0 / 1.296 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.3008, allocations: 4 kB / 1.296 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.369e-05/0.3008, allocations: 7.984 kB / 1.296 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.3009, allocations: 19.92 kB / 1.296 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.878e-05/0.301, allocations: 27.84 kB / 1.296 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.301, allocations: 0 / 1.296 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.301, allocations: 0 / 1.296 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.301, allocations: 0 / 1.296 GB, free: 10.09 MB / 0.9981 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.0005543/0.3015, allocations: 335.5 kB / 1.297 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3016, allocations: 12.03 kB / 1.297 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.3016, allocations: 0.9375 kB / 1.297 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.3017, allocations: 164.3 kB / 1.297 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.3018, allocations: 4.375 kB / 1.297 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.3018, allocations: 4.375 kB / 1.297 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.302, allocations: 54.17 kB / 1.297 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.302, allocations: 192 / 1.297 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.302, allocations: 3.938 kB / 1.297 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.302, allocations: 0 / 1.297 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.3023, allocations: 35.95 kB / 1.297 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.3027, allocations: 244.9 kB / 1.297 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.3029, allocations: 46.47 kB / 1.297 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.303, allocations: 20.91 kB / 1.297 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.303, allocations: 0 / 1.297 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.303, allocations: 34.56 kB / 1.297 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.303, allocations: 0 / 1.297 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000443/0.3035, allocations: 81.64 kB / 1.297 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.3035, allocations: 55.34 kB / 1.298 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.3037, allocations: 109.8 kB / 1.298 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.3037, allocations: 25.7 kB / 1.298 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.3038, allocations: 92.2 kB / 1.298 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.3038, allocations: 3.953 kB / 1.298 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.3038, allocations: 13.72 kB / 1.298 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.304, allocations: 314.8 kB / 1.298 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.3041, allocations: 15.97 kB / 1.298 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.652e-05/0.3042, allocations: 19.98 kB / 1.298 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.3044, allocations: 36.89 kB / 1.298 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.3044, allocations: 0 / 1.298 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002515/0.3047, allocations: 69.59 kB / 1.298 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3047, allocations: 4 kB / 1.298 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3047, allocations: 0 / 1.298 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3047, allocations: 4 kB / 1.298 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.939e-05/0.3048, allocations: 11.92 kB / 1.298 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3048, allocations: 4.031 kB / 1.298 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.389e-05/0.3049, allocations: 11.92 kB / 1.298 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.3049, allocations: 0 / 1.298 GB, free: 8.066 MB / 0.9981 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.996e-05/0.305, allocations: 117.8 kB / 1.298 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.65e-05/0.305, allocations: 3.953 kB / 1.298 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002668/0.3053, allocations: 68.78 kB / 1.298 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3053, allocations: 4.031 kB / 1.298 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3053, allocations: 0 / 1.298 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.3053, allocations: 0 / 1.298 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.3055, allocations: 161.6 kB / 1.299 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3055, allocations: 0 / 1.299 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.338e-05/0.3056, allocations: 8 kB / 1.299 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3056, allocations: 3.938 kB / 1.299 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.3056, allocations: 3.984 kB / 1.299 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.3056, allocations: 4 kB / 1.299 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3056, allocations: 0 / 1.299 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.3059, allocations: 167.5 kB / 1.299 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.306, allocations: 77.11 kB / 1.299 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.306, allocations: 0 / 1.299 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.3061, allocations: 4 kB / 1.299 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.3061, allocations: 7.984 kB / 1.299 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.3061, allocations: 4.031 kB / 1.299 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.607e-05/0.3062, allocations: 83.28 kB / 1.299 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3062, allocations: 3.938 kB / 1.299 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003446/0.3065, allocations: 4 kB / 1.299 GB, free: 7.258 MB / 0.9981 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.0001514/0.3067, allocations: 95.78 kB / 1.299 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003754/0.3071, allocations: 43.83 kB / 1.299 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3071, allocations: 4.062 kB / 1.299 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.3072, allocations: 19.98 kB / 1.299 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.3076, allocations: 7.938 kB / 1.299 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003661/0.3079, allocations: 143.7 kB / 1.299 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.3083, allocations: 0.6768 MB / 1.3 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.3083, allocations: 7.438 kB / 1.3 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/0.3083, allocations: 4.062 kB / 1.3 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of Templates: time 0.002358/0.3107, allocations: 0.5341 MB / 1.3 GB, free: 5.656 MB / 0.9981 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 400] 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) [Timeout 300] [Timeout remaining time 300] Reference file matches