Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001208/0.001208, allocations: 110.5 kB / 17.6 MB, free: 4.703 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.001352/0.001352, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.54/1.54, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.926/2.926, allocations: 476.7 MB / 0.7628 GB, free: 15.27 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 72.08 kB / 1.107 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.27/1.272, allocations: 168.7 MB / 1.272 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002156/1.274, allocations: 0.6715 MB / 1.273 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00117/1.276, allocations: 0.8163 MB / 1.273 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.403e-05/1.276, allocations: 0.6562 kB / 1.273 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.279e-05/1.276, allocations: 4.656 kB / 1.273 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.017e-05/1.276, allocations: 5.359 kB / 1.273 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000182/1.276, allocations: 13.06 kB / 1.274 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.107e-05/1.276, allocations: 24.91 kB / 1.274 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/1.276, allocations: 7.484 kB / 1.274 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.464e-05/1.276, allocations: 12.64 kB / 1.274 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.127e-05/1.276, allocations: 5.812 kB / 1.274 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/1.276, allocations: 1.531 kB / 1.274 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/1.276, allocations: 2.688 kB / 1.274 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/1.276, allocations: 9.203 kB / 1.274 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.433e-05/1.276, allocations: 6.625 kB / 1.274 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/1.276, allocations: 33.84 kB / 1.274 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.276, allocations: 0 / 1.274 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.653e-06/1.276, allocations: 0 / 1.274 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.943e-06/1.276, allocations: 0.9375 kB / 1.274 GB, free: 6.82 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.000497/1.277, allocations: 331 kB / 1.274 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/1.277, allocations: 10 kB / 1.274 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/1.277, allocations: 6.484 kB / 1.274 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/1.277, allocations: 163.1 kB / 1.274 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/1.277, allocations: 13.06 kB / 1.274 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/1.277, allocations: 1.375 kB / 1.274 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/1.277, allocations: 50.19 kB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/1.277, allocations: 192 / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/1.277, allocations: 3.938 kB / 1.274 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/1.277, allocations: 0.8438 kB / 1.274 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/1.278, allocations: 34.48 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/1.278, allocations: 254 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/1.278, allocations: 43.69 kB / 1.274 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.229e-05/1.278, allocations: 23.72 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/1.278, allocations: 0 / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/1.278, allocations: 31.44 kB / 1.275 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/1.278, allocations: 4.844 kB / 1.275 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003743/1.279, allocations: 84.16 kB / 1.275 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/1.279, allocations: 56.31 kB / 1.275 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/1.279, allocations: 97.45 kB / 1.275 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/1.279, allocations: 25.7 kB / 1.275 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/1.279, allocations: 86.39 kB / 1.275 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/1.279, allocations: 7.953 kB / 1.275 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/1.279, allocations: 13.39 kB / 1.275 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.054e-05/1.279, allocations: 316.8 kB / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.494e-05/1.279, allocations: 16.02 kB / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.308e-05/1.279, allocations: 17.69 kB / 1.275 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/1.279, allocations: 40.77 kB / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.279, allocations: 0 / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001812/1.279, allocations: 71.81 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/1.279, allocations: 7.656 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/1.279, allocations: 0 / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/1.279, allocations: 0.7188 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/1.28, allocations: 13.67 kB / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/1.28, allocations: 5.094 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/1.28, allocations: 5.25 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/1.28, allocations: 0.7812 kB / 1.275 GB, free: 5.109 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 6.168e-05/1.28, allocations: 115.3 kB / 1.275 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/1.28, allocations: 2.234 kB / 1.275 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/1.28, allocations: 67.39 kB / 1.276 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/1.28, allocations: 4.844 kB / 1.276 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.28, allocations: 0 / 1.276 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/1.28, allocations: 4.531 kB / 1.276 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/1.28, allocations: 156.5 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.28, allocations: 0 / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.538e-05/1.28, allocations: 12.44 kB / 1.276 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/1.28, allocations: 7.266 kB / 1.276 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/1.28, allocations: 3.938 kB / 1.276 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.28, allocations: 1.062 kB / 1.276 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.28, allocations: 3.984 kB / 1.276 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/1.28, allocations: 170 kB / 1.276 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.024e-05/1.28, allocations: 79.27 kB / 1.276 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/1.28, allocations: 1.062 kB / 1.276 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.215e-05/1.28, allocations: 5.375 kB / 1.276 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/1.281, allocations: 7.766 kB / 1.276 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/1.281, allocations: 5.031 kB / 1.276 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.444e-05/1.281, allocations: 81.28 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.281, allocations: 0 / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000206/1.281, allocations: 3.844 kB / 1.276 GB, free: 4.41 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.0001624/1.281, allocations: 101.5 kB / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002249/1.281, allocations: 34.36 kB / 1.276 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.281, allocations: 4.062 kB / 1.276 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.26e-05/1.281, allocations: 21.47 kB / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/1.282, allocations: 6.812 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/1.282, allocations: 125.8 kB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/1.282, allocations: 0.6758 MB / 1.277 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.247e-05/1.282, allocations: 0.9375 kB / 1.277 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/1.282, allocations: 17.14 kB / 1.277 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/1.282, allocations: 0 / 1.277 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of Templates: time 0.003298/1.285, allocations: 439 kB / 1.277 GB, free: 3.414 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.007072792388499]