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.001122/0.001122, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.00107/0.00107, allocations: 177 kB / 23.49 MB, free: 1.055 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.094/1.094, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.072/2.072, allocations: 429.5 MB / 0.6736 GB, free: 4.047 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 2.665e-06/2.665e-06, allocations: 0 / 0.8782 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.546e-05/3.812e-05, allocations: 12.92 kB / 0.8783 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002266/0.002304, allocations: 0.6825 MB / 0.8789 GB, free: 5.895 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.00361, allocations: 0.8609 MB / 0.8798 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.266e-05/0.003652, allocations: 0 / 0.8798 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.787e-05/0.00369, allocations: 10.72 kB / 0.8798 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.072e-05/0.003781, allocations: 5.75 kB / 0.8798 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.004003, allocations: 11.98 kB / 0.8798 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.665e-05/0.004089, allocations: 21.78 kB / 0.8798 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.004201, allocations: 8 kB / 0.8798 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.62e-05/0.004297, allocations: 11.98 kB / 0.8798 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.848e-05/0.004345, allocations: 11.91 kB / 0.8798 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.004372, allocations: 4.719 kB / 0.8798 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.433e-05/0.004447, allocations: 11.94 kB / 0.8799 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.004464, allocations: 1.656 kB / 0.8799 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.00449, allocations: 11.94 kB / 0.8799 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.004644, allocations: 15.92 kB / 0.8799 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.00465, allocations: 3.984 kB / 0.8799 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.274e-06/0.004653, allocations: 0.5 kB / 0.8799 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.004658, allocations: 5.688 kB / 0.8799 GB, free: 4.898 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.0004304/0.005088, allocations: 356.6 kB / 0.8802 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.005136, allocations: 12.03 kB / 0.8802 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.005272, allocations: 4.938 kB / 0.8802 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.005387, allocations: 113.1 kB / 0.8804 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.005402, allocations: 384 / 0.8804 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.005413, allocations: 5.719 kB / 0.8804 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.005573, allocations: 58.94 kB / 0.8804 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.005582, allocations: 192 / 0.8804 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.005594, allocations: 1.969 kB / 0.8804 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.005603, allocations: 384 / 0.8804 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.418e-05/0.005647, allocations: 15.86 kB / 0.8804 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.006005, allocations: 243.8 kB / 0.8807 GB, free: 4 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.807e-05/0.006073, allocations: 35.09 kB / 0.8807 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.731e-05/0.0061, allocations: 7.688 kB / 0.8807 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.006122, allocations: 4.062 kB / 0.8807 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.692e-05/0.006209, allocations: 37.39 kB / 0.8807 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.894e-06/0.006211, allocations: 3.938 kB / 0.8808 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001969/0.006408, allocations: 41.62 kB / 0.8808 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.006448, allocations: 51.41 kB / 0.8808 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.006551, allocations: 161.9 kB / 0.881 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.006564, allocations: 25.7 kB / 0.881 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.006614, allocations: 127 kB / 0.8811 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.006639, allocations: 11.94 kB / 0.8812 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.006676, allocations: 23.38 kB / 0.8812 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.006806, allocations: 492.1 kB / 0.8816 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.006826, allocations: 4 kB / 0.8816 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.284e-05/0.006838, allocations: 0 / 0.8816 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.984e-05/0.006878, allocations: 19.62 kB / 0.8817 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.00688, allocations: 0 / 0.8817 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.069e-05/0.006961, allocations: 45.64 kB / 0.8817 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.006979, allocations: 11.94 kB / 0.8817 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.006986, allocations: 8.031 kB / 0.8817 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.007003, allocations: 0 / 0.8817 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.913e-05/0.007093, allocations: 4 kB / 0.8817 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.0071, allocations: 3.984 kB / 0.8817 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.857e-05/0.007128, allocations: 11.92 kB / 0.8817 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.007134, allocations: 0 / 0.8817 GB, free: 2.789 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 7.875e-05/0.007213, allocations: 156.6 kB / 0.8819 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.007239, allocations: 4 kB / 0.8819 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.007356, allocations: 52.88 kB / 0.882 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.00736, allocations: 4.031 kB / 0.882 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.007363, allocations: 0 / 0.882 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.007366, allocations: 0 / 0.882 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.007504, allocations: 112.6 kB / 0.8821 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.007506, allocations: 0 / 0.8821 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.913e-05/0.007545, allocations: 4 kB / 0.8821 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.007547, allocations: 0 / 0.8821 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.007555, allocations: 0 / 0.8821 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.00756, allocations: 7.938 kB / 0.8821 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.007561, allocations: 0 / 0.8821 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.007691, allocations: 191.9 kB / 0.8823 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.007703, allocations: 7.953 kB / 0.8823 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.007718, allocations: 0 / 0.8823 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.872e-05/0.007776, allocations: 3.938 kB / 0.8823 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.007821, allocations: 11.98 kB / 0.8823 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.007825, allocations: 0 / 0.8823 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.392e-05/0.007869, allocations: 123.2 kB / 0.8824 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.007869, allocations: 0 / 0.8824 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002602/0.008129, allocations: 4 kB / 0.8824 GB, free: 2.047 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 0.0001306/0.00826, allocations: 95.23 kB / 0.8825 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.008362, allocations: 19.72 kB / 0.8825 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.008364, allocations: 0 / 0.8825 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.285e-05/0.008386, allocations: 15.62 kB / 0.8825 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.008683, allocations: 4 kB / 0.8825 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005784/0.009261, allocations: 122.4 kB / 0.8826 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.54e-05/0.009306, allocations: 51.36 kB / 0.8827 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.514e-05/0.009331, allocations: 12.06 kB / 0.8827 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.009363, allocations: 8.5 kB / 0.8827 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of SimCode: time 1.132e-06/0.009364, allocations: 0 / 0.8827 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of Templates: time 0.002297/0.01166, allocations: 483.3 kB / 0.8832 GB, free: 1.199 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.439150636084378]