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.001822/0.001822, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002816/0.002816, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.532/1.532, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 3.244/3.244, allocations: 429.6 MB / 0.673 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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 1.894e-06/1.894e-06, allocations: 0.7656 kB / 0.8777 GB, free: 6.422 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.691e-05, allocations: 2.312 kB / 0.8777 GB, free: 6.418 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001844/0.001871, allocations: 0.6777 MB / 0.8783 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.003127, allocations: 0.8422 MB / 0.8791 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.128e-05/0.003158, allocations: 0 / 0.8791 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.77e-05/0.003186, allocations: 4.5 kB / 0.8791 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.315e-05/0.003249, allocations: 3.938 kB / 0.8791 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.003419, allocations: 17.16 kB / 0.8792 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.993e-05/0.003489, allocations: 23.94 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.91e-05/0.003568, allocations: 7.984 kB / 0.8792 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.357e-05/0.003641, allocations: 9.094 kB / 0.8792 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.899e-05/0.00368, allocations: 11.92 kB / 0.8792 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.003699, allocations: 4 kB / 0.8792 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.107e-05/0.00374, allocations: 8.594 kB / 0.8792 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.003754, allocations: 4.719 kB / 0.8792 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.003779, allocations: 7.984 kB / 0.8792 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.003888, allocations: 31.7 kB / 0.8793 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.00389, allocations: 0 / 0.8793 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.62e-07/0.00389, allocations: 0 / 0.8793 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.003894, allocations: 7.938 kB / 0.8793 GB, free: 4.781 MB / 0.8386 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.000442/0.004336, allocations: 258.3 kB / 0.8795 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.004373, allocations: 8.031 kB / 0.8795 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.98e-05/0.004473, allocations: 8.875 kB / 0.8795 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.004599, allocations: 117.7 kB / 0.8797 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.00461, allocations: 384 / 0.8797 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/0.004618, allocations: 384 / 0.8797 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.004798, allocations: 51.7 kB / 0.8797 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.004806, allocations: 192 / 0.8797 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.004815, allocations: 384 / 0.8797 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.004822, allocations: 5.406 kB / 0.8797 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.005003, allocations: 36.97 kB / 0.8797 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000333/0.005336, allocations: 188.6 kB / 0.8799 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.005477, allocations: 35.66 kB / 0.88 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.287e-05/0.00557, allocations: 24.91 kB / 0.88 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.005588, allocations: 1.062 kB / 0.88 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.005623, allocations: 34.5 kB / 0.88 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.005624, allocations: 0.875 kB / 0.88 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003749/0.005999, allocations: 87.89 kB / 0.8801 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.006048, allocations: 51.41 kB / 0.8801 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.006151, allocations: 105.8 kB / 0.8803 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.00617, allocations: 25.7 kB / 0.8803 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.88e-05/0.006239, allocations: 80.64 kB / 0.8804 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.006256, allocations: 3.953 kB / 0.8804 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.006295, allocations: 19.53 kB / 0.8804 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.006469, allocations: 314.8 kB / 0.8807 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.799e-05/0.006557, allocations: 15.98 kB / 0.8807 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.432e-05/0.006631, allocations: 16.67 kB / 0.8807 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.006792, allocations: 47.19 kB / 0.8808 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.006794, allocations: 0 / 0.8808 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002026/0.006997, allocations: 64.42 kB / 0.8808 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.007013, allocations: 4 kB / 0.8808 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.00702, allocations: 3.938 kB / 0.8808 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.007035, allocations: 0 / 0.8808 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.326e-05/0.007129, allocations: 15.98 kB / 0.8808 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.007133, allocations: 3.938 kB / 0.8808 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.323e-05/0.007196, allocations: 11.94 kB / 0.8809 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.007201, allocations: 1.781 kB / 0.8809 GB, free: 3.012 MB / 0.8386 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.112e-05/0.007292, allocations: 109.8 kB / 0.881 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.007317, allocations: 7.938 kB / 0.881 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.007563, allocations: 77.12 kB / 0.881 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.007566, allocations: 0 / 0.881 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.007572, allocations: 4 kB / 0.881 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.007579, allocations: 4.172 kB / 0.881 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.007725, allocations: 97.33 kB / 0.8811 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.007726, allocations: 0 / 0.8811 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.323e-05/0.007789, allocations: 11.97 kB / 0.8811 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.007791, allocations: 0 / 0.8811 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.007801, allocations: 4 kB / 0.8812 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.007807, allocations: 3.938 kB / 0.8812 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.007808, allocations: 4.031 kB / 0.8812 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.008079, allocations: 163.5 kB / 0.8813 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-06/0.008089, allocations: 3.938 kB / 0.8813 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.008103, allocations: 4 kB / 0.8813 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.008186, allocations: 11.92 kB / 0.8813 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.00822, allocations: 0 / 0.8813 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.008223, allocations: 0 / 0.8813 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.094e-05/0.008284, allocations: 87.27 kB / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.008284, allocations: 4.031 kB / 0.8814 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002187/0.008503, allocations: 7.953 kB / 0.8814 GB, free: 2.355 MB / 0.8386 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.000113/0.008616, allocations: 91.25 kB / 0.8815 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002048/0.008821, allocations: 35.95 kB / 0.8816 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.008822, allocations: 0 / 0.8816 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.886e-05/0.008911, allocations: 23.98 kB / 0.8816 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.009182, allocations: 11.3 kB / 0.8816 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.009483, allocations: 105.6 kB / 0.8817 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.241e-05/0.009555, allocations: 67.19 kB / 0.8818 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.077e-05/0.009576, allocations: 4 kB / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.009604, allocations: 8.5 kB / 0.8818 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/0.009605, allocations: 3.938 kB / 0.8818 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of Templates: time 0.0028/0.0124, allocations: 481.5 kB / 0.8822 GB, free: 1.5 MB / 0.8386 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: 8.319055725005455]