Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002154/0.002154, allocations: 184.8 kB / 22.22 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.702/2.702, allocations: 443.4 MB / 0.7321 GB, free: 12.55 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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=2500,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 75.88 kB / 1.062 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.052, allocations: 160.8 MB / 1.219 GB, free: 3.797 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002477/1.055, allocations: 0.6824 MB / 1.219 GB, free: 3.285 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001295/1.056, allocations: 0.8067 MB / 1.22 GB, free: 2.629 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.956e-05/1.056, allocations: 0 / 1.22 GB, free: 2.629 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.322e-05/1.056, allocations: 3.938 kB / 1.22 GB, free: 2.625 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.14e-05/1.056, allocations: 5.203 kB / 1.22 GB, free: 2.621 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/1.056, allocations: 13.38 kB / 1.22 GB, free: 2.609 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.353e-05/1.057, allocations: 21.67 kB / 1.22 GB, free: 2.598 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/1.057, allocations: 10.38 kB / 1.22 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.743e-05/1.057, allocations: 23.62 kB / 1.22 GB, free: 2.57 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.916e-05/1.057, allocations: 6.438 kB / 1.22 GB, free: 2.566 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/1.057, allocations: 2.719 kB / 1.22 GB, free: 2.566 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/1.057, allocations: 1.312 kB / 1.22 GB, free: 2.566 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2e-05/1.057, allocations: 5.016 kB / 1.22 GB, free: 2.562 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.374e-05/1.057, allocations: 10.5 kB / 1.22 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/1.057, allocations: 23.44 kB / 1.22 GB, free: 2.539 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.057, allocations: 5.062 kB / 1.22 GB, free: 2.535 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.873e-06/1.057, allocations: 0 / 1.22 GB, free: 2.535 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.973e-06/1.057, allocations: 0 / 1.22 GB, free: 2.535 MB / 0.92 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.000544/1.058, allocations: 336.3 kB / 1.22 GB, free: 2.172 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/1.058, allocations: 8.781 kB / 1.22 GB, free: 2.172 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/1.058, allocations: 2.094 kB / 1.22 GB, free: 2.172 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/1.058, allocations: 169.7 kB / 1.221 GB, free: 1.969 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/1.058, allocations: 1.594 kB / 1.221 GB, free: 1.969 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/1.058, allocations: 5.719 kB / 1.221 GB, free: 1.965 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/1.058, allocations: 53.22 kB / 1.221 GB, free: 1.918 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/1.058, allocations: 192 / 1.221 GB, free: 1.918 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/1.058, allocations: 8.734 kB / 1.221 GB, free: 1.91 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/1.058, allocations: 0 / 1.221 GB, free: 1.91 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/1.058, allocations: 30.81 kB / 1.221 GB, free: 1.898 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/1.059, allocations: 252.5 kB / 1.221 GB, free: 1.609 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/1.059, allocations: 43.62 kB / 1.221 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.419e-05/1.059, allocations: 25.91 kB / 1.221 GB, free: 1.551 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/1.059, allocations: 7.922 kB / 1.221 GB, free: 1.543 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/1.059, allocations: 31.81 kB / 1.221 GB, free: 1.504 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/1.059, allocations: 3.938 kB / 1.221 GB, free: 1.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003501/1.059, allocations: 84.73 kB / 1.221 GB, free: 1.441 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/1.059, allocations: 52.44 kB / 1.221 GB, free: 1.379 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/1.059, allocations: 102.4 kB / 1.221 GB, free: 1.273 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/1.059, allocations: 26.8 kB / 1.221 GB, free: 1.242 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.813e-05/1.059, allocations: 81.2 kB / 1.221 GB, free: 1.16 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/1.059, allocations: 5.453 kB / 1.221 GB, free: 1.156 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/1.059, allocations: 19.09 kB / 1.221 GB, free: 1.133 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001553/1.06, allocations: 315.9 kB / 1.222 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.963e-05/1.06, allocations: 17.55 kB / 1.222 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.855e-05/1.06, allocations: 16.92 kB / 1.222 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/1.06, allocations: 35.83 kB / 1.222 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.06, allocations: 4.062 kB / 1.222 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001926/1.06, allocations: 72.17 kB / 1.222 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/1.06, allocations: 5.312 kB / 1.222 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/1.06, allocations: 0.8438 kB / 1.222 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/1.06, allocations: 0 / 1.222 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/1.06, allocations: 10.55 kB / 1.222 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/1.06, allocations: 0 / 1.222 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.234e-05/1.06, allocations: 12.05 kB / 1.222 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/1.06, allocations: 1.125 kB / 1.222 GB, free: 0.7109 MB / 0.92 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 0.0001194/1.06, allocations: 126.3 kB / 1.222 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/1.06, allocations: 1.062 kB / 1.222 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/1.061, allocations: 70.47 kB / 1.222 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/1.061, allocations: 1.219 kB / 1.222 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/1.061, allocations: 0 / 1.222 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/1.061, allocations: 5.344 kB / 1.222 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/1.061, allocations: 161 kB / 1.222 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.061, allocations: 1.125 kB / 1.222 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.467e-05/1.061, allocations: 6.031 kB / 1.222 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/1.061, allocations: 3.984 kB / 1.222 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/1.061, allocations: 1.031 kB / 1.222 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.061, allocations: 0 / 1.222 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/1.061, allocations: 0 / 1.222 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/1.061, allocations: 167.2 kB / 1.222 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.76e-05/1.061, allocations: 82.16 kB / 1.222 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/1.061, allocations: 13.03 kB / 1.222 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.489e-05/1.061, allocations: 7.109 kB / 1.222 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/1.061, allocations: 1.125 kB / 1.222 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/1.061, allocations: 4.875 kB / 1.222 GB, free: 48 kB / 0.92 GB Notification: Performance of sorting global known variables: time 7.077e-05/1.062, allocations: 78.38 kB / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/1.062, allocations: 5.25 kB / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000215/1.062, allocations: 3.031 kB / 1.223 GB, free: 15.97 MB / 0.9356 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.0001681/1.062, allocations: 104.7 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000237/1.062, allocations: 37.34 kB / 1.223 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.062, allocations: 0 / 1.223 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.472e-05/1.062, allocations: 19.55 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/1.063, allocations: 12.67 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003664/1.063, allocations: 113.1 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/1.063, allocations: 0.6729 MB / 1.223 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.191e-05/1.063, allocations: 1.094 kB / 1.223 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/1.063, allocations: 8.594 kB / 1.223 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/1.063, allocations: 0 / 1.223 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of Templates: time 0.003002/1.066, allocations: 443.8 kB / 1.224 GB, free: 14.79 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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 [Calling sys.exit(0), Time elapsed: 9.20781862642616]