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.0009832/0.0009832, 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.001233/0.001233, 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 0.9756/0.9756, allocations: 177.2 MB / 204.2 MB, free: 5.586 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.962/1.962, allocations: 377.8 MB / 0.6236 GB, free: 8.531 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.316e-06/3.316e-06, allocations: 4 kB / 0.8116 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.755e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.00182/0.001848, allocations: 0.6849 MB / 0.8123 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.003065, allocations: 0.867 MB / 0.8131 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.522e-05/0.0031, allocations: 0 / 0.8131 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.468e-05/0.003135, allocations: 4.812 kB / 0.8131 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.731e-05/0.003212, allocations: 4 kB / 0.8131 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.003418, allocations: 8.766 kB / 0.8131 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.623e-05/0.003494, allocations: 23.94 kB / 0.8132 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.003596, allocations: 9.672 kB / 0.8132 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.737e-05/0.003683, allocations: 15.92 kB / 0.8132 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.702e-05/0.00372, allocations: 7.984 kB / 0.8132 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.003738, allocations: 4 kB / 0.8132 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 5.026e-05/0.003788, allocations: 13.41 kB / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.828e-05/0.003806, allocations: 4 kB / 0.8132 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.003832, allocations: 11.98 kB / 0.8132 GB, free: 0 / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.003962, allocations: 20.03 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.003965, allocations: 0.9688 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.62e-07/0.003966, allocations: 0 / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.00397, allocations: 0 / 0.8132 GB, free: 15.98 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.0004148/0.004385, allocations: 361.2 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.004434, allocations: 13.62 kB / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.004556, allocations: 4.922 kB / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.00466, allocations: 108.6 kB / 0.8137 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.004674, allocations: 384 / 0.8137 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.004685, allocations: 4.375 kB / 0.8137 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.004826, allocations: 53.52 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.004836, allocations: 192 / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.004847, allocations: 4.375 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.004856, allocations: 384 / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.672e-05/0.004893, allocations: 15.86 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.005238, allocations: 239.9 kB / 0.814 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.092e-05/0.005309, allocations: 31.59 kB / 0.814 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.59e-05/0.005334, allocations: 8.406 kB / 0.8141 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.005354, allocations: 0 / 0.8141 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.005387, allocations: 45.91 kB / 0.8141 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.005389, allocations: 1.625 kB / 0.8141 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002192/0.005608, allocations: 45.59 kB / 0.8141 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.005654, allocations: 51.41 kB / 0.8142 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.005774, allocations: 162.7 kB / 0.8144 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.005795, allocations: 25.7 kB / 0.8144 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.343e-05/0.005858, allocations: 131.6 kB / 0.8145 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.005883, allocations: 3.953 kB / 0.8145 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.005927, allocations: 24.06 kB / 0.8145 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.006107, allocations: 0.4883 MB / 0.815 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.839e-05/0.006126, allocations: 0.9688 kB / 0.815 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.414e-05/0.00614, allocations: 4 kB / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.466e-05/0.006184, allocations: 21 kB / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.006188, allocations: 0 / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.004e-05/0.006268, allocations: 35.45 kB / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.006289, allocations: 6.656 kB / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.006296, allocations: 3.984 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.006315, allocations: 7.984 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.006421, allocations: 7.984 kB / 0.8151 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.006427, allocations: 1.219 kB / 0.8151 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.777e-05/0.006455, allocations: 7.938 kB / 0.8151 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.006461, allocations: 0 / 0.8151 GB, free: 13.89 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 8.519e-05/0.006546, allocations: 157.4 kB / 0.8152 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.006574, allocations: 10.16 kB / 0.8153 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.006682, allocations: 44.94 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.006685, allocations: 0 / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.006691, allocations: 7.984 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.006695, allocations: 0 / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.006828, allocations: 112.6 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.006829, allocations: 3 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.955e-05/0.006869, allocations: 11.98 kB / 0.8154 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.00687, allocations: 0 / 0.8154 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.00688, allocations: 0 / 0.8154 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.006884, allocations: 3.938 kB / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.006885, allocations: 0 / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.007019, allocations: 187.9 kB / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.699e-06/0.007029, allocations: 5.359 kB / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.007046, allocations: 4 kB / 0.8156 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.45e-05/0.0071, allocations: 3.938 kB / 0.8156 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.007146, allocations: 4 kB / 0.8156 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.007151, allocations: 4.625 kB / 0.8156 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.792e-05/0.007199, allocations: 123.2 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.11e-07/0.007199, allocations: 0.5 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002564/0.007455, allocations: 4.562 kB / 0.8158 GB, free: 13.16 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.0001093/0.007564, allocations: 95.97 kB / 0.8158 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.007667, allocations: 16.84 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.007668, allocations: 0 / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.061e-05/0.007699, allocations: 24.42 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.0002901/0.007989, allocations: 8.875 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006019/0.008591, allocations: 123.1 kB / 0.816 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.185e-05/0.008643, allocations: 56.06 kB / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.439e-05/0.008667, allocations: 7.938 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.283e-05/0.0087, allocations: 8.5 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of SimCode: time 6.51e-07/0.0087, allocations: 0 / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of Templates: time 0.002629/0.01133, allocations: 490.9 kB / 0.8165 GB, free: 12.3 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.134643501136452]