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.0009406/0.0009406, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009538/0.0009538, allocations: 169 kB / 23.02 MB, free: 1.551 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.029/1.029, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.207/2.207, allocations: 429.5 MB / 0.6732 GB, free: 4.055 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 3.627e-06/3.627e-06, allocations: 0 / 0.8782 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.788e-05/4.151e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.238 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002484/0.002526, allocations: 0.6843 MB / 0.8789 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.003949, allocations: 0.87 MB / 0.8798 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/0.003997, allocations: 0 / 0.8798 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.862e-05/0.004046, allocations: 4.5 kB / 0.8798 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.695e-05/0.004133, allocations: 2.625 kB / 0.8798 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.004387, allocations: 11.98 kB / 0.8798 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.083e-05/0.004478, allocations: 32.19 kB / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.004595, allocations: 5.078 kB / 0.8798 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.824e-05/0.004684, allocations: 11.94 kB / 0.8798 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.749e-05/0.004731, allocations: 13.14 kB / 0.8798 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.004755, allocations: 4 kB / 0.8798 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.256e-05/0.004818, allocations: 7.938 kB / 0.8798 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.004835, allocations: 1.094 kB / 0.8798 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.004864, allocations: 7.984 kB / 0.8799 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.005009, allocations: 23.91 kB / 0.8799 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.005012, allocations: 0.6562 kB / 0.8799 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.483e-06/0.005013, allocations: 0 / 0.8799 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.00502, allocations: 0.9688 kB / 0.8799 GB, free: 4.582 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.0004764/0.005496, allocations: 360.6 kB / 0.8802 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.005553, allocations: 12.78 kB / 0.8802 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.005695, allocations: 0.9375 kB / 0.8802 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.005821, allocations: 117.2 kB / 0.8803 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.005838, allocations: 4.375 kB / 0.8804 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.005851, allocations: 3.812 kB / 0.8804 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.006023, allocations: 58.88 kB / 0.8804 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.006036, allocations: 192 / 0.8804 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.006048, allocations: 384 / 0.8804 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.006058, allocations: 4.375 kB / 0.8804 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.687e-05/0.006105, allocations: 3.938 kB / 0.8804 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.006555, allocations: 247.8 kB / 0.8807 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.354e-05/0.006648, allocations: 31.06 kB / 0.8807 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.667e-05/0.006685, allocations: 16.12 kB / 0.8807 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.006718, allocations: 0.5938 kB / 0.8807 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.006754, allocations: 37.45 kB / 0.8807 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 2.374e-06/0.006756, allocations: 1 kB / 0.8807 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002558/0.007012, allocations: 41.62 kB / 0.8808 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.00706, allocations: 52.06 kB / 0.8808 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.007194, allocations: 163.5 kB / 0.881 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.00721, allocations: 29.64 kB / 0.881 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.267e-05/0.007293, allocations: 130.9 kB / 0.8811 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.007321, allocations: 7.953 kB / 0.8811 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/0.007368, allocations: 19.5 kB / 0.8812 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.007541, allocations: 496.1 kB / 0.8816 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.225e-05/0.007563, allocations: 3.938 kB / 0.8816 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.117e-05/0.007584, allocations: 7.984 kB / 0.8816 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.051e-05/0.007635, allocations: 15.69 kB / 0.8817 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.007637, allocations: 0 / 0.8817 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.965e-05/0.007737, allocations: 41.66 kB / 0.8817 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.007759, allocations: 4 kB / 0.8817 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.007768, allocations: 3.938 kB / 0.8817 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.007795, allocations: 0 / 0.8817 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.0079, allocations: 16.08 kB / 0.8817 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.007908, allocations: 3.938 kB / 0.8817 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.883e-05/0.007936, allocations: 7.938 kB / 0.8817 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.007944, allocations: 4 kB / 0.8817 GB, free: 2.473 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.83e-05/0.008022, allocations: 152.6 kB / 0.8819 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.008047, allocations: 0 / 0.8819 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.008181, allocations: 48.94 kB / 0.8819 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.008184, allocations: 0 / 0.8819 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.008189, allocations: 0 / 0.8819 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.008192, allocations: 8.031 kB / 0.8819 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.008336, allocations: 112.6 kB / 0.882 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.008338, allocations: 0 / 0.882 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.115e-05/0.00839, allocations: 8 kB / 0.8821 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.008392, allocations: 0 / 0.8821 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.008403, allocations: 3.984 kB / 0.8821 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.008407, allocations: 3.938 kB / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.008408, allocations: 0 / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.00857, allocations: 183.9 kB / 0.8822 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.789e-06/0.00858, allocations: 3.953 kB / 0.8822 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.008595, allocations: 8.016 kB / 0.8822 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.008662, allocations: 11.94 kB / 0.8823 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.008719, allocations: 192 / 0.8823 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.008725, allocations: 4 kB / 0.8823 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.091e-05/0.008786, allocations: 131.1 kB / 0.8824 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.008786, allocations: 0 / 0.8824 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002547/0.009041, allocations: 4 kB / 0.8824 GB, free: 1.73 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.0001442/0.009185, allocations: 91.25 kB / 0.8825 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001196/0.009305, allocations: 23.62 kB / 0.8825 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.009307, allocations: 4.062 kB / 0.8825 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.5e-05/0.009332, allocations: 11.69 kB / 0.8825 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.00965, allocations: 10.8 kB / 0.8825 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000678/0.01033, allocations: 118.4 kB / 0.8826 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.59e-05/0.01037, allocations: 55.36 kB / 0.8827 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.185e-05/0.0104, allocations: 0 / 0.8827 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.476e-05/0.01043, allocations: 16.56 kB / 0.8827 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of SimCode: time 1.062e-06/0.01043, allocations: 0 / 0.8827 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of Templates: time 0.002452/0.01288, allocations: 485.2 kB / 0.8832 GB, free: 0.8789 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.725812876131386]