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.001053/0.001053, allocations: 73.97 kB / 20.65 MB, free: 3.848 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.001047/0.001047, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.007/1.007, allocations: 177.1 MB / 204.5 MB, free: 5.129 MB / 186.7 MB " [Timeout remaining time 179] 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 2.137/2.137, allocations: 429.5 MB / 0.6743 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 177] 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.914e-06/1.914e-06, allocations: 0 / 0.8795 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.38e-05, allocations: 6.312 kB / 0.8795 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001364/0.001388, allocations: 0.6746 MB / 0.8801 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008853/0.002273, allocations: 0.8634 MB / 0.881 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.436e-05/0.002308, allocations: 0 / 0.881 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.169e-05/0.00234, allocations: 3.938 kB / 0.881 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.397e-05/0.002404, allocations: 5.75 kB / 0.881 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.00256, allocations: 12.97 kB / 0.881 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.257e-05/0.002623, allocations: 31.83 kB / 0.881 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.013e-05/0.002703, allocations: 4 kB / 0.881 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.733e-05/0.00277, allocations: 23.86 kB / 0.881 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.05e-05/0.002801, allocations: 3.984 kB / 0.8811 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.002814, allocations: 4 kB / 0.8811 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.972e-05/0.002854, allocations: 7.938 kB / 0.8811 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.002868, allocations: 4 kB / 0.8811 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.297e-05/0.002881, allocations: 4 kB / 0.8811 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.426e-05/0.002966, allocations: 23.91 kB / 0.8811 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.002968, allocations: 0.9375 kB / 0.8811 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.853e-06/0.00297, allocations: 3.984 kB / 0.8811 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.002973, allocations: 0 / 0.8811 GB, free: 4.297 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.0003023/0.003276, allocations: 357.6 kB / 0.8814 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.003308, allocations: 12.03 kB / 0.8814 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.326e-05/0.003391, allocations: 10.06 kB / 0.8815 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.999e-05/0.003471, allocations: 108.6 kB / 0.8816 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.003481, allocations: 384 / 0.8816 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-06/0.003488, allocations: 5.312 kB / 0.8816 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.003589, allocations: 54.88 kB / 0.8816 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.003595, allocations: 4.969 kB / 0.8816 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.221e-06/0.003601, allocations: 384 / 0.8816 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.003606, allocations: 384 / 0.8816 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.76e-05/0.003624, allocations: 7.5 kB / 0.8816 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000209/0.003833, allocations: 232.4 kB / 0.8819 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.4e-05/0.003877, allocations: 31.09 kB / 0.8819 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.543e-05/0.003892, allocations: 15.73 kB / 0.8819 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.003906, allocations: 3.938 kB / 0.8819 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.003926, allocations: 33.39 kB / 0.8819 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.003926, allocations: 0 / 0.8819 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001148/0.004041, allocations: 42.27 kB / 0.882 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.004069, allocations: 51.41 kB / 0.882 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.004271, allocations: 166.5 kB / 0.8822 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.00428, allocations: 25.7 kB / 0.8822 GB, free: 3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.00432, allocations: 127.6 kB / 0.8823 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.004338, allocations: 7.953 kB / 0.8823 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.004363, allocations: 20.22 kB / 0.8824 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.004468, allocations: 0.4923 MB / 0.8828 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.045e-05/0.004478, allocations: 5.469 kB / 0.8828 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-06/0.004486, allocations: 0 / 0.8828 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.448e-05/0.00451, allocations: 15.69 kB / 0.8829 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.004513, allocations: 8.188 kB / 0.8829 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.957e-05/0.004562, allocations: 37.66 kB / 0.8829 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.004577, allocations: 11.98 kB / 0.8829 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.289e-06/0.004581, allocations: 0 / 0.8829 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.00459, allocations: 3.938 kB / 0.8829 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.62e-05/0.004646, allocations: 4 kB / 0.8829 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.004649, allocations: 0 / 0.8829 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.841e-05/0.004667, allocations: 7.938 kB / 0.8829 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-06/0.004671, allocations: 3.938 kB / 0.8829 GB, free: 2.227 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 5.869e-05/0.00473, allocations: 156.6 kB / 0.8831 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.004746, allocations: 8.031 kB / 0.8831 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.759e-05/0.004813, allocations: 41 kB / 0.8831 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.004817, allocations: 7.938 kB / 0.8831 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.004819, allocations: 0 / 0.8831 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.004821, allocations: 0 / 0.8831 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.453e-05/0.004906, allocations: 93.27 kB / 0.8832 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.004907, allocations: 0 / 0.8832 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.549e-05/0.004932, allocations: 7.984 kB / 0.8832 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.004933, allocations: 0 / 0.8832 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.249e-06/0.004938, allocations: 4 kB / 0.8832 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.004939, allocations: 4.031 kB / 0.8832 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.00494, allocations: 0 / 0.8832 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.26e-05/0.005023, allocations: 187.8 kB / 0.8834 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-06/0.00503, allocations: 7.938 kB / 0.8834 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.823e-06/0.005037, allocations: 0 / 0.8834 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.06e-05/0.005067, allocations: 4 kB / 0.8834 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.259e-05/0.00509, allocations: 0 / 0.8834 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.005093, allocations: 3.938 kB / 0.8834 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.781e-05/0.005141, allocations: 135.2 kB / 0.8836 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005141, allocations: 0 / 0.8836 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001901/0.005331, allocations: 8.031 kB / 0.8836 GB, free: 1.508 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 9.089e-05/0.005422, allocations: 95.19 kB / 0.8837 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.352e-05/0.005485, allocations: 19.62 kB / 0.8837 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.005487, allocations: 0 / 0.8837 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.616e-05/0.005503, allocations: 15.67 kB / 0.8837 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.005685, allocations: 4 kB / 0.8837 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.006016, allocations: 114.6 kB / 0.8838 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.101e-05/0.006047, allocations: 63.28 kB / 0.8839 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.451e-05/0.006062, allocations: 0 / 0.8839 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.632e-05/0.006108, allocations: 70.2 kB / 0.8839 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of SimCode: time 5.01e-07/0.006109, allocations: 0 / 0.8839 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of Templates: time 0.001931/0.00804, allocations: 0.5302 MB / 0.8845 GB, free: 0.5508 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 240] 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","",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.42889255611226]