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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008756/0.0008756, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000814/0.000814, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9015/0.9015, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.763/1.763, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591e-05/1.799e-05, allocations: 2.281 kB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001041/0.001059, allocations: 0.6561 MB / 1.002 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008399/0.001898, allocations: 0.8509 MB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.778e-05/0.001926, allocations: 4 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.494e-05/0.001951, allocations: 3.938 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.396e-05/0.002005, allocations: 0 / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.002168, allocations: 11.98 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.991e-05/0.002228, allocations: 23.88 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.256e-05/0.002311, allocations: 11.97 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.742e-05/0.002368, allocations: 11.94 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.083e-05/0.002399, allocations: 11.98 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.002411, allocations: 0 / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.597e-05/0.002447, allocations: 8 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.00246, allocations: 0 / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.626e-05/0.002476, allocations: 11.98 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.937e-05/0.002565, allocations: 35.83 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.002567, allocations: 0 / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.31e-07/0.002567, allocations: 0 / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.002571, allocations: 0 / 1.003 GB, free: 11.28 MB / 0.9636 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.0003185/0.002889, allocations: 262.3 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.002921, allocations: 8.75 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.951e-05/0.00299, allocations: 4.938 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.636e-05/0.003067, allocations: 117.7 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.003078, allocations: 384 / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.003087, allocations: 4.375 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.003206, allocations: 46.23 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.003215, allocations: 8.125 kB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.003224, allocations: 384 / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.003228, allocations: 384 / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.617e-05/0.003314, allocations: 31.91 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002361/0.00355, allocations: 192.6 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.615e-05/0.003627, allocations: 38.62 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.178e-05/0.003668, allocations: 20.84 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.003685, allocations: 0 / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.003704, allocations: 34.5 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.003705, allocations: 0 / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002135/0.003918, allocations: 93.62 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.003945, allocations: 51.41 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.212e-05/0.003997, allocations: 105.8 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.004007, allocations: 25.7 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.964e-05/0.004036, allocations: 80.14 kB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.004052, allocations: 7.953 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/0.004074, allocations: 13.72 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.655e-05/0.004151, allocations: 322.7 kB / 1.004 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.106e-05/0.004192, allocations: 19.98 kB / 1.004 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.714e-05/0.004229, allocations: 19.95 kB / 1.004 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.661e-05/0.004305, allocations: 40.81 kB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.004307, allocations: 0 / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.641e-05/0.004403, allocations: 65.67 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.004414, allocations: 4 kB / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.004419, allocations: 3.938 kB / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.004432, allocations: 4.094 kB / 1.004 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.699e-05/0.004489, allocations: 11.98 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.004493, allocations: 0 / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.287e-05/0.004516, allocations: 7.984 kB / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.004521, allocations: 0 / 1.004 GB, free: 9.492 MB / 0.9636 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 4.929e-05/0.00457, allocations: 109.8 kB / 1.004 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.004583, allocations: 4.188 kB / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.004705, allocations: 80.89 kB / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.004707, allocations: 0 / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.00471, allocations: 0 / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.004713, allocations: 0 / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.468e-05/0.004797, allocations: 113.3 kB / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.004798, allocations: 0 / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.158e-05/0.00482, allocations: 7.984 kB / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.004821, allocations: 0 / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.004826, allocations: 0 / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.004831, allocations: 7.938 kB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.004833, allocations: 4 kB / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.004946, allocations: 163.5 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-06/0.00495, allocations: 0 / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-06/0.004959, allocations: 0 / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.76e-05/0.004997, allocations: 11.92 kB / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.005026, allocations: 8 kB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.005027, allocations: 0 / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.384e-05/0.005051, allocations: 83.27 kB / 1.005 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005051, allocations: 0 / 1.005 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001395/0.00519, allocations: 8.031 kB / 1.005 GB, free: 8.836 MB / 0.9636 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 6.275e-05/0.005253, allocations: 91.25 kB / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001133/0.005366, allocations: 35.91 kB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-06/0.005368, allocations: 0 / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.116e-05/0.005409, allocations: 27.91 kB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.005582, allocations: 8.125 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002231/0.005805, allocations: 143.2 kB / 1.005 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.782e-05/0.005843, allocations: 59.34 kB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/0.005866, allocations: 12.5 kB / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of SimCode: time 4.11e-07/0.005867, allocations: 0 / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of Templates: time 0.001253/0.007119, allocations: 0.5595 MB / 1.006 GB, free: 7.852 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.342487116344273]