Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009236/0.0009236, allocations: 72.5 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.001046/0.001046, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9073/0.9073, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.716/1.716, allocations: 377.8 MB / 0.6228 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 0.9823 GB, free: 2.031 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/2e-05, allocations: 2.281 kB / 0.9823 GB, free: 2.027 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001107/0.001127, allocations: 0.6746 MB / 0.9829 GB, free: 1.355 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007512/0.001879, allocations: 0.847 MB / 0.9837 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.87e-05/0.001907, allocations: 0 / 0.9837 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.586e-05/0.001933, allocations: 0 / 0.9837 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.592e-05/0.001989, allocations: 7.922 kB / 0.9838 GB, free: 500 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.002163, allocations: 11.98 kB / 0.9838 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.231e-05/0.002225, allocations: 27.92 kB / 0.9838 GB, free: 460 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.526e-05/0.00231, allocations: 0 / 0.9838 GB, free: 460 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.446e-05/0.002375, allocations: 15.92 kB / 0.9838 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 2.985e-05/0.002405, allocations: 12 kB / 0.9838 GB, free: 432 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.002419, allocations: 4 kB / 0.9838 GB, free: 428 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.883e-05/0.002458, allocations: 4 kB / 0.9838 GB, free: 424 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.002472, allocations: 11.97 kB / 0.9838 GB, free: 412 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.586e-05/0.002488, allocations: 0 / 0.9838 GB, free: 412 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.243e-05/0.00258, allocations: 31.84 kB / 0.9839 GB, free: 380 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.002583, allocations: 3.984 kB / 0.9839 GB, free: 376 kB / 0.9323 GB Notification: Performance of FrontEnd: time 9.71e-07/0.002584, allocations: 0 / 0.9839 GB, free: 376 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.207e-06/0.002588, allocations: 4 kB / 0.9839 GB, free: 372 kB / 0.9323 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.0003375/0.002925, allocations: 258.3 kB / 0.9841 GB, free: 80 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.002958, allocations: 19.91 kB / 0.9841 GB, free: 60 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.461e-05/0.003023, allocations: 8.891 kB / 0.9841 GB, free: 52 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.417e-05/0.003107, allocations: 109.7 kB / 0.9843 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.003118, allocations: 384 / 0.9843 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.003125, allocations: 384 / 0.9843 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.003243, allocations: 50.23 kB / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.003249, allocations: 192 / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.003258, allocations: 384 / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.003262, allocations: 384 / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.754e-05/0.00335, allocations: 43.89 kB / 0.9843 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002377/0.003588, allocations: 196.6 kB / 0.9845 GB, free: 15.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.349e-05/0.003661, allocations: 34.56 kB / 0.9846 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.577e-05/0.003707, allocations: 20.89 kB / 0.9846 GB, free: 15.53 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.00373, allocations: 8 kB / 0.9846 GB, free: 15.52 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.003748, allocations: 30.56 kB / 0.9846 GB, free: 15.48 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.003749, allocations: 0 / 0.9846 GB, free: 15.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002143/0.003963, allocations: 89.52 kB / 0.9847 GB, free: 15.39 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.003992, allocations: 51.41 kB / 0.9848 GB, free: 15.33 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.348e-05/0.004046, allocations: 97.86 kB / 0.9848 GB, free: 15.22 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.004055, allocations: 25.7 kB / 0.9849 GB, free: 15.19 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.541e-05/0.00409, allocations: 96.08 kB / 0.985 GB, free: 15.09 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.004105, allocations: 3.984 kB / 0.985 GB, free: 15.09 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.004128, allocations: 13.72 kB / 0.985 GB, free: 15.07 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.185e-05/0.0042, allocations: 310.8 kB / 0.9853 GB, free: 14.76 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.817e-05/0.004238, allocations: 20.11 kB / 0.9853 GB, free: 14.74 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.516e-05/0.004273, allocations: 19.97 kB / 0.9853 GB, free: 14.72 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.425e-05/0.004347, allocations: 36.83 kB / 0.9854 GB, free: 14.68 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.004349, allocations: 3.938 kB / 0.9854 GB, free: 14.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.836e-05/0.004447, allocations: 77.61 kB / 0.9854 GB, free: 14.59 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.00446, allocations: 4 kB / 0.9854 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.004465, allocations: 3.938 kB / 0.9854 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.004476, allocations: 4 kB / 0.9854 GB, free: 14.58 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.68e-05/0.004533, allocations: 7.984 kB / 0.9854 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.004537, allocations: 0 / 0.9854 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.128e-05/0.004559, allocations: 4 kB / 0.9855 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.004563, allocations: 0 / 0.9855 GB, free: 14.57 MB / 0.948 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 5.038e-05/0.004613, allocations: 109.8 kB / 0.9856 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.004624, allocations: 4.031 kB / 0.9856 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.004752, allocations: 80.89 kB / 0.9856 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.004753, allocations: 3.938 kB / 0.9856 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.004757, allocations: 0 / 0.9856 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.004759, allocations: 0 / 0.9856 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.066e-05/0.004839, allocations: 105.3 kB / 0.9857 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.004841, allocations: 3.984 kB / 0.9857 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.221e-05/0.004863, allocations: 8 kB / 0.9858 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.004865, allocations: 0 / 0.9858 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.004871, allocations: 4.031 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.004873, allocations: 7.938 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.004874, allocations: 0 / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.004989, allocations: 155.5 kB / 0.9859 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-06/0.004996, allocations: 11.94 kB / 0.9859 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.308e-06/0.005005, allocations: 4 kB / 0.9859 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.564e-05/0.005041, allocations: 7.938 kB / 0.9859 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.428e-05/0.005075, allocations: 3.984 kB / 0.9859 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.005077, allocations: 4.031 kB / 0.9859 GB, free: 14.01 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.758e-05/0.005105, allocations: 79.28 kB / 0.986 GB, free: 13.93 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005105, allocations: 3.938 kB / 0.986 GB, free: 13.93 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000139/0.005244, allocations: 4 kB / 0.986 GB, free: 13.92 MB / 0.948 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.911e-05/0.005313, allocations: 95.25 kB / 0.9861 GB, free: 13.82 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001161/0.005429, allocations: 39.95 kB / 0.9862 GB, free: 13.78 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.00543, allocations: 0 / 0.9862 GB, free: 13.78 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.731e-05/0.005468, allocations: 20.05 kB / 0.9862 GB, free: 13.76 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.005646, allocations: 2.656 kB / 0.9862 GB, free: 13.76 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002284/0.005875, allocations: 150.3 kB / 0.9863 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.662e-05/0.005921, allocations: 63.34 kB / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.005944, allocations: 8.5 kB / 0.9864 GB, free: 13.49 MB / 0.948 GB Notification: Performance of SimCode: time 6.21e-07/0.005944, allocations: 0 / 0.9864 GB, free: 13.49 MB / 0.948 GB Notification: Performance of Templates: time 0.001294/0.007238, allocations: 0.5567 MB / 0.9869 GB, free: 12.94 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.569543655030429]