Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.0008129/0.0008129, allocations: 80.45 kB / 19.93 MB, free: 4.605 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.0008201/0.0008201, allocations: 173.2 kB / 23.22 MB, free: 1.316 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.9054/0.9054, allocations: 177.2 MB / 203.5 MB, free: 5.746 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.778/1.778, allocations: 377.8 MB / 0.6229 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] 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.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.956e-06/2.956e-06, allocations: 0 / 0.9823 GB, free: 2.02 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.94e-05, allocations: 5.234 kB / 0.9823 GB, free: 2.016 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001404/0.001433, allocations: 0.7377 MB / 0.983 GB, free: 1.277 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000804/0.002237, allocations: 0.8704 MB / 0.9838 GB, free: 404 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.083e-05/0.002278, allocations: 4 kB / 0.9839 GB, free: 400 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.228e-05/0.00231, allocations: 7.875 kB / 0.9839 GB, free: 392 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.346e-05/0.002384, allocations: 3.938 kB / 0.9839 GB, free: 388 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001398/0.002523, allocations: 23.97 kB / 0.9839 GB, free: 364 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.058e-05/0.002614, allocations: 71.83 kB / 0.984 GB, free: 292 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.002723, allocations: 19.97 kB / 0.984 GB, free: 272 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.092e-05/0.002804, allocations: 39.91 kB / 0.984 GB, free: 232 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.82e-05/0.002862, allocations: 39.89 kB / 0.984 GB, free: 192 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.00289, allocations: 8 kB / 0.9841 GB, free: 184 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-06/0.0029, allocations: 4 kB / 0.9841 GB, free: 180 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.959e-05/0.00292, allocations: 15.92 kB / 0.9841 GB, free: 164 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.002947, allocations: 19.92 kB / 0.9841 GB, free: 144 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.003055, allocations: 91.66 kB / 0.9842 GB, free: 52 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.003058, allocations: 0 / 0.9842 GB, free: 52 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.423e-06/0.003059, allocations: 0 / 0.9842 GB, free: 52 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.003063, allocations: 0 / 0.9842 GB, free: 52 kB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004417/0.003504, allocations: 298 kB / 0.9845 GB, free: 15.73 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.003541, allocations: 12.03 kB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.003577, allocations: 8.891 kB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.003679, allocations: 129.7 kB / 0.9846 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.003695, allocations: 4.375 kB / 0.9846 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.003706, allocations: 4.375 kB / 0.9846 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.003867, allocations: 78.2 kB / 0.9847 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.003875, allocations: 192 / 0.9847 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.003887, allocations: 8.312 kB / 0.9847 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.003892, allocations: 4.375 kB / 0.9847 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.00403, allocations: 71.88 kB / 0.9848 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.004372, allocations: 248.4 kB / 0.985 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.004538, allocations: 86.47 kB / 0.9851 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.204e-05/0.00461, allocations: 36.92 kB / 0.9851 GB, free: 14.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.004629, allocations: 7.938 kB / 0.9851 GB, free: 14.97 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.004647, allocations: 30.56 kB / 0.9852 GB, free: 14.93 MB / 0.948 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.004648, allocations: 0 / 0.9852 GB, free: 14.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.000298/0.004946, allocations: 137.6 kB / 0.9853 GB, free: 14.79 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.004977, allocations: 55.41 kB / 0.9853 GB, free: 14.72 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.268e-05/0.00505, allocations: 121.8 kB / 0.9855 GB, free: 14.59 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.005064, allocations: 33.7 kB / 0.9855 GB, free: 14.55 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/0.005108, allocations: 96 kB / 0.9856 GB, free: 14.46 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.005132, allocations: 19.86 kB / 0.9856 GB, free: 14.44 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.005165, allocations: 21.7 kB / 0.9856 GB, free: 14.41 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.744e-05/0.005243, allocations: 314.8 kB / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.881e-05/0.005311, allocations: 35.97 kB / 0.986 GB, free: 14.06 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.991e-05/0.005371, allocations: 31.97 kB / 0.986 GB, free: 14.03 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.005495, allocations: 64.81 kB / 0.9861 GB, free: 13.96 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.005497, allocations: 0 / 0.9861 GB, free: 13.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001594/0.005657, allocations: 105.5 kB / 0.9862 GB, free: 13.85 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.00567, allocations: 8 kB / 0.9862 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.005675, allocations: 4.438 kB / 0.9862 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.005687, allocations: 3.938 kB / 0.9862 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.905e-05/0.005776, allocations: 19.98 kB / 0.9862 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.005781, allocations: 0 / 0.9862 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.854e-05/0.005819, allocations: 11.98 kB / 0.9862 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/0.005826, allocations: 3.984 kB / 0.9862 GB, free: 13.8 MB / 0.948 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 (6): * Single equations (assignments): 6 * 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.292e-05/0.005889, allocations: 117.8 kB / 0.9863 GB, free: 13.68 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.726e-05/0.005906, allocations: 11.89 kB / 0.9863 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.908e-05/0.005925, allocations: 8.438 kB / 0.9863 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.005928, allocations: 4.109 kB / 0.9863 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.005932, allocations: 7.938 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.005934, allocations: 0 / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.006047, allocations: 129.2 kB / 0.9865 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.006049, allocations: 4 kB / 0.9865 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.354e-05/0.006102, allocations: 15.98 kB / 0.9865 GB, free: 13.47 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.006104, allocations: 3.938 kB / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.006111, allocations: 4 kB / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.006112, allocations: 0 / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.006113, allocations: 0 / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.006308, allocations: 211.4 kB / 0.9867 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.022e-05/0.006318, allocations: 3.953 kB / 0.9867 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.006331, allocations: 7.938 kB / 0.9867 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.225e-05/0.006383, allocations: 7.984 kB / 0.9867 GB, free: 13.22 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.006433, allocations: 7.984 kB / 0.9867 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.006437, allocations: 4 kB / 0.9867 GB, free: 13.21 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.264e-05/0.00648, allocations: 103.6 kB / 0.9868 GB, free: 13.11 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.00648, allocations: 0 / 0.9868 GB, free: 13.11 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001482/0.006628, allocations: 8 kB / 0.9868 GB, free: 13.1 MB / 0.948 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 (6): * Single equations (assignments): 6 * 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.742e-05/0.006725, allocations: 103.2 kB / 0.9869 GB, free: 12.99 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001775/0.006903, allocations: 67.89 kB / 0.987 GB, free: 12.92 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.006904, allocations: 0 / 0.987 GB, free: 12.92 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.56e-05/0.006979, allocations: 39.97 kB / 0.987 GB, free: 12.88 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.007221, allocations: 19.05 kB / 0.9871 GB, free: 12.87 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.007559, allocations: 198.4 kB / 0.9872 GB, free: 12.64 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.713e-05/0.007606, allocations: 75.52 kB / 0.9873 GB, free: 12.55 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.007647, allocations: 12.5 kB / 0.9873 GB, free: 12.54 MB / 0.948 GB Notification: Performance of SimCode: time 4.91e-07/0.007648, allocations: 0 / 0.9873 GB, free: 12.54 MB / 0.948 GB Notification: Performance of Templates: time 0.00176/0.009408, allocations: 1.079 MB / 0.9884 GB, free: 11.46 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.694952894933522]