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.001293/0.001293, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001682/0.001682, allocations: 161 kB / 23.82 MB, free: 0.75 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.023/1.023, allocations: 177.1 MB / 204.2 MB, free: 5.266 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 2.019/2.019, allocations: 377.8 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 177] 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 3.858e-06/3.858e-06, allocations: 0 / 0.8116 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.485e-05/3.87e-05, allocations: 8.641 kB / 0.8116 GB, free: 1.637 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002453/0.002491, allocations: 0.6747 MB / 0.8123 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.003744, allocations: 0.8731 MB / 0.8131 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.131e-05/0.003775, allocations: 0 / 0.8131 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.797e-05/0.003803, allocations: 0 / 0.8131 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.19e-05/0.003865, allocations: 3.938 kB / 0.8131 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.004071, allocations: 15.97 kB / 0.8131 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.891e-05/0.00416, allocations: 23.92 kB / 0.8132 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.004277, allocations: 4 kB / 0.8132 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.084e-05/0.004368, allocations: 17.36 kB / 0.8132 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.476e-05/0.004413, allocations: 11.98 kB / 0.8132 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.004431, allocations: 0 / 0.8132 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.646e-05/0.004497, allocations: 7.938 kB / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.004515, allocations: 5.469 kB / 0.8132 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.004542, allocations: 7.984 kB / 0.8132 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.004694, allocations: 23.94 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.004698, allocations: 1.594 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.188e-06/0.004702, allocations: 3.984 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.004708, allocations: 0 / 0.8132 GB, free: 15.97 MB / 0.7761 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.000447/0.005155, allocations: 360.6 kB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.005202, allocations: 9.031 kB / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.005336, allocations: 4.938 kB / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.005448, allocations: 108.6 kB / 0.8137 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.005464, allocations: 4.906 kB / 0.8137 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.005477, allocations: 0.9062 kB / 0.8137 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.005661, allocations: 56 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.005673, allocations: 192 / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.005685, allocations: 384 / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.005694, allocations: 1 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.207e-05/0.005746, allocations: 11.88 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.006134, allocations: 244.3 kB / 0.814 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.37e-05/0.006208, allocations: 32.47 kB / 0.814 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.761e-05/0.006235, allocations: 15.75 kB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.00626, allocations: 0 / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.006289, allocations: 34.55 kB / 0.8141 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.432e-06/0.00629, allocations: 0 / 0.8141 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002104/0.006501, allocations: 53.52 kB / 0.8141 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.006538, allocations: 52.34 kB / 0.8142 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.006647, allocations: 161.9 kB / 0.8143 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.006662, allocations: 26.61 kB / 0.8144 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.433e-05/0.006736, allocations: 130.8 kB / 0.8145 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.006762, allocations: 12.98 kB / 0.8145 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.781e-05/0.00681, allocations: 19.36 kB / 0.8145 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.006989, allocations: 496.1 kB / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.007008, allocations: 0.8438 kB / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.28e-05/0.007021, allocations: 0 / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.383e-05/0.007065, allocations: 24.56 kB / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.007067, allocations: 0 / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.242e-05/0.00716, allocations: 39.19 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.00718, allocations: 4 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.007188, allocations: 3.938 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.007208, allocations: 1.25 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.007327, allocations: 4 kB / 0.8151 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.007338, allocations: 4 kB / 0.8151 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.386e-05/0.007372, allocations: 15.02 kB / 0.8151 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.007381, allocations: 4 kB / 0.8151 GB, free: 13.88 MB / 0.7761 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.0001013/0.007482, allocations: 156.6 kB / 0.8152 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.007509, allocations: 0 / 0.8152 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/0.007654, allocations: 52.88 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.007657, allocations: 0 / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.007663, allocations: 0 / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.007667, allocations: 0 / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.007822, allocations: 121.1 kB / 0.8154 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.007825, allocations: 1.938 kB / 0.8154 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-05/0.007883, allocations: 8 kB / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.007887, allocations: 0 / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.007897, allocations: 0 / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.0079, allocations: 3.938 kB / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.007902, allocations: 0.8438 kB / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.008072, allocations: 187.9 kB / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.096e-05/0.008083, allocations: 0.8438 kB / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.008103, allocations: 4 kB / 0.8156 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.041e-05/0.008183, allocations: 9.219 kB / 0.8156 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.00823, allocations: 3.984 kB / 0.8156 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.008234, allocations: 0 / 0.8156 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.278e-05/0.008287, allocations: 125.7 kB / 0.8157 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.2e-07/0.008287, allocations: 3.938 kB / 0.8157 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002531/0.00854, allocations: 4 kB / 0.8158 GB, free: 13.15 MB / 0.7761 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.0001914/0.008731, allocations: 95.23 kB / 0.8158 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.008836, allocations: 19.69 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.008838, allocations: 2.906 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.87e-05/0.008866, allocations: 15.62 kB / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.009179, allocations: 4 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006155/0.009794, allocations: 127.3 kB / 0.816 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.246e-05/0.009837, allocations: 55.36 kB / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.368e-05/0.00986, allocations: 1.125 kB / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.009895, allocations: 12.5 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of SimCode: time 9.11e-07/0.009896, allocations: 0 / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of Templates: time 0.002929/0.01283, allocations: 482 kB / 0.8165 GB, free: 12.32 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.5298976339399815]