Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001103/0.001103, allocations: 81.95 kB / 21.47 MB, free: 3.035 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.001066/0.001066, allocations: 169.7 kB / 24.87 MB, free: 8.883 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.9679/0.9679, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.809/1.809, allocations: 359 MB / 0.6063 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 3.938 kB / 0.7884 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.335e-05, allocations: 10.89 kB / 0.7884 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001381/0.001404, allocations: 0.6809 MB / 0.7891 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008546/0.002259, allocations: 0.8677 MB / 0.7899 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.27e-05/0.002291, allocations: 0 / 0.7899 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.396e-05/0.002315, allocations: 4.547 kB / 0.7899 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.165e-05/0.002387, allocations: 7.938 kB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.00254, allocations: 4.906 kB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.387e-05/0.002603, allocations: 27.92 kB / 0.7899 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.938e-05/0.002693, allocations: 4.922 kB / 0.7899 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.966e-05/0.002763, allocations: 19.92 kB / 0.79 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.989e-05/0.002802, allocations: 7.984 kB / 0.79 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.002817, allocations: 5.375 kB / 0.79 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.215e-05/0.002859, allocations: 7.938 kB / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.002875, allocations: 4 kB / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.462e-05/0.00289, allocations: 7 kB / 0.79 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.002994, allocations: 31.83 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.002997, allocations: 0 / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.91e-07/0.002998, allocations: 0 / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.003003, allocations: 0 / 0.79 GB, free: 10.48 MB / 0.7448 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.0003041/0.003307, allocations: 352.6 kB / 0.7904 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.003341, allocations: 12.03 kB / 0.7904 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.698e-05/0.003418, allocations: 4.891 kB / 0.7904 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.343e-05/0.003492, allocations: 117.8 kB / 0.7905 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.003502, allocations: 384 / 0.7905 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-06/0.003508, allocations: 384 / 0.7905 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.556e-05/0.003593, allocations: 51.55 kB / 0.7905 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.27e-06/0.003598, allocations: 192 / 0.7905 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.003605, allocations: 1.469 kB / 0.7905 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.00361, allocations: 4.375 kB / 0.7906 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.162e-05/0.003632, allocations: 7.875 kB / 0.7906 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002026/0.003835, allocations: 229 kB / 0.7908 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.188e-05/0.003877, allocations: 35.75 kB / 0.7908 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.306e-05/0.00389, allocations: 12.28 kB / 0.7908 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.003902, allocations: 0.75 kB / 0.7908 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.003921, allocations: 33.39 kB / 0.7909 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.003921, allocations: 1.375 kB / 0.7909 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001077/0.004029, allocations: 45.53 kB / 0.7909 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.004058, allocations: 59.39 kB / 0.791 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.208e-05/0.00412, allocations: 159.7 kB / 0.7911 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.00413, allocations: 25.7 kB / 0.7911 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.004172, allocations: 134.8 kB / 0.7913 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.004187, allocations: 3.953 kB / 0.7913 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.004212, allocations: 23.36 kB / 0.7913 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.004335, allocations: 493.7 kB / 0.7918 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.043e-05/0.004346, allocations: 4 kB / 0.7918 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.935e-06/0.004354, allocations: 0 / 0.7918 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.789e-05/0.004381, allocations: 21.39 kB / 0.7918 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.004384, allocations: 0 / 0.7918 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.2e-05/0.004436, allocations: 41.69 kB / 0.7918 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.004449, allocations: 4 kB / 0.7918 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.004453, allocations: 2.312 kB / 0.7918 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.004462, allocations: 7.938 kB / 0.7918 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.347e-05/0.004516, allocations: 8 kB / 0.7918 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.004519, allocations: 0 / 0.7918 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/0.004538, allocations: 7.922 kB / 0.7919 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.004543, allocations: 4 kB / 0.7919 GB, free: 8.422 MB / 0.7448 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 6.271e-05/0.004606, allocations: 153.1 kB / 0.792 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.00462, allocations: 0.7188 kB / 0.792 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.149e-05/0.004701, allocations: 49.47 kB / 0.792 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.004704, allocations: 5.531 kB / 0.7921 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.004707, allocations: 0 / 0.7921 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.004711, allocations: 0 / 0.7921 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.00482, allocations: 97.41 kB / 0.7921 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.004821, allocations: 0 / 0.7921 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-05/0.004844, allocations: 12.61 kB / 0.7922 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.004847, allocations: 4.703 kB / 0.7922 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.83e-06/0.004852, allocations: 0 / 0.7922 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.004854, allocations: 1.156 kB / 0.7922 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.004855, allocations: 0 / 0.7922 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.779e-05/0.004953, allocations: 195.8 kB / 0.7924 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-06/0.004958, allocations: 0.6562 kB / 0.7924 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.305e-06/0.004966, allocations: 0 / 0.7924 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.873e-05/0.004995, allocations: 4.688 kB / 0.7924 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.005026, allocations: 4.828 kB / 0.7924 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.00503, allocations: 3.938 kB / 0.7924 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.732e-05/0.005068, allocations: 123.2 kB / 0.7925 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005068, allocations: 5.812 kB / 0.7925 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000141/0.005209, allocations: 8 kB / 0.7925 GB, free: 7.711 MB / 0.7448 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 7.815e-05/0.005287, allocations: 91.25 kB / 0.7926 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.311e-05/0.00535, allocations: 20.42 kB / 0.7926 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.005351, allocations: 2.375 kB / 0.7926 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.956e-05/0.00537, allocations: 19.61 kB / 0.7926 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.005553, allocations: 4 kB / 0.7926 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.005874, allocations: 120.3 kB / 0.7927 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.384e-05/0.005908, allocations: 63.28 kB / 0.7928 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.425e-05/0.005922, allocations: 0 / 0.7928 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.005962, allocations: 70.2 kB / 0.7929 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of SimCode: time 6.31e-07/0.005963, allocations: 0.5 kB / 0.7929 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of Templates: time 0.001783/0.007746, allocations: 0.5171 MB / 0.7934 GB, free: 6.773 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 4.944155670702457]