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.002035/0.002035, allocations: 81.06 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001653/0.001653, allocations: 169.1 kB / 22.46 MB, free: 5.359 MB / 14.72 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.484/1.484, allocations: 177.1 MB / 202.8 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] 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 2.938/2.938, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] 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 3.657e-06/3.657e-06, allocations: 0 / 0.9815 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.226e-05/4.592e-05, allocations: 2.281 kB / 0.9815 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002448/0.002494, allocations: 0.7379 MB / 0.9822 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.003854, allocations: 0.8626 MB / 0.9831 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.514e-05/0.00391, allocations: 0 / 0.9831 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.606e-05/0.003946, allocations: 3.938 kB / 0.9831 GB, free: 9.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.004049, allocations: 15.86 kB / 0.9831 GB, free: 9.199 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.004247, allocations: 35.89 kB / 0.9831 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.004386, allocations: 67.84 kB / 0.9832 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.004523, allocations: 15.98 kB / 0.9832 GB, free: 9.082 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.00465, allocations: 47.89 kB / 0.9832 GB, free: 9.035 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.932e-05/0.004729, allocations: 27.95 kB / 0.9833 GB, free: 9.008 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.156e-05/0.00477, allocations: 8 kB / 0.9833 GB, free: 9 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.908e-05/0.00479, allocations: 8 kB / 0.9833 GB, free: 8.992 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.542e-05/0.004825, allocations: 19.91 kB / 0.9833 GB, free: 8.973 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.096e-05/0.004866, allocations: 19.92 kB / 0.9833 GB, free: 8.953 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.005039, allocations: 83.67 kB / 0.9834 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.005043, allocations: 0 / 0.9834 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.843e-06/0.005045, allocations: 0 / 0.9834 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.005054, allocations: 0 / 0.9834 GB, free: 8.871 MB / 0.8887 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.0006797/0.005734, allocations: 302 kB / 0.9837 GB, free: 8.543 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.005783, allocations: 16.03 kB / 0.9837 GB, free: 8.527 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.005828, allocations: 12.89 kB / 0.9837 GB, free: 8.516 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.006022, allocations: 121.6 kB / 0.9838 GB, free: 8.371 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.006043, allocations: 4.375 kB / 0.9838 GB, free: 8.367 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.006062, allocations: 4.375 kB / 0.9838 GB, free: 8.363 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.006319, allocations: 90.08 kB / 0.9839 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.006328, allocations: 192 / 0.9839 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.006342, allocations: 384 / 0.9839 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.006347, allocations: 384 / 0.9839 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.006613, allocations: 75.88 kB / 0.984 GB, free: 8.195 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005215/0.007135, allocations: 256.4 kB / 0.9842 GB, free: 7.914 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.00741, allocations: 86.56 kB / 0.9843 GB, free: 7.82 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.00755, allocations: 36.89 kB / 0.9844 GB, free: 7.781 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.007572, allocations: 3.938 kB / 0.9844 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.007607, allocations: 38.5 kB / 0.9844 GB, free: 7.73 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.007608, allocations: 0 / 0.9844 GB, free: 7.73 MB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.0005474/0.008156, allocations: 141.6 kB / 0.9845 GB, free: 7.586 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.008204, allocations: 51.41 kB / 0.9846 GB, free: 7.523 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.008336, allocations: 121.8 kB / 0.9847 GB, free: 7.395 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.008359, allocations: 25.7 kB / 0.9847 GB, free: 7.363 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.958e-05/0.008429, allocations: 96.08 kB / 0.9848 GB, free: 7.266 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.008462, allocations: 15.84 kB / 0.9848 GB, free: 7.25 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.056e-05/0.008523, allocations: 21.72 kB / 0.9849 GB, free: 7.223 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.008695, allocations: 318.8 kB / 0.9852 GB, free: 6.902 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.008825, allocations: 35.97 kB / 0.9852 GB, free: 6.867 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.00894, allocations: 27.97 kB / 0.9852 GB, free: 6.84 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.009188, allocations: 72.86 kB / 0.9853 GB, free: 6.766 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.00919, allocations: 3.938 kB / 0.9853 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003033/0.009493, allocations: 105.5 kB / 0.9854 GB, free: 6.652 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.009513, allocations: 11.98 kB / 0.9854 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.009519, allocations: 0 / 0.9854 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.009536, allocations: 0 / 0.9854 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.009712, allocations: 15.98 kB / 0.9854 GB, free: 6.625 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.009718, allocations: 0 / 0.9854 GB, free: 6.625 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.592e-05/0.009804, allocations: 7.984 kB / 0.9854 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.009818, allocations: 4 kB / 0.9854 GB, free: 6.613 MB / 0.8887 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 0.0001149/0.009933, allocations: 117.8 kB / 0.9855 GB, free: 6.488 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.009966, allocations: 11.83 kB / 0.9856 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/0.009999, allocations: 12.44 kB / 0.9856 GB, free: 6.465 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01, allocations: 4 kB / 0.9856 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.01001, allocations: 0 / 0.9856 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.01001, allocations: 3.984 kB / 0.9856 GB, free: 6.457 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.0102, allocations: 129.2 kB / 0.9857 GB, free: 6.301 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.0102, allocations: 0 / 0.9857 GB, free: 6.301 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.01033, allocations: 20.41 kB / 0.9857 GB, free: 6.281 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.01033, allocations: 3.938 kB / 0.9857 GB, free: 6.277 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.01034, allocations: 0 / 0.9857 GB, free: 6.277 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.01035, allocations: 4 kB / 0.9857 GB, free: 6.273 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01035, allocations: 0 / 0.9857 GB, free: 6.273 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.01073, allocations: 207.4 kB / 0.9859 GB, free: 6.055 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.01075, allocations: 7.953 kB / 0.9859 GB, free: 6.047 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.01077, allocations: 3.938 kB / 0.9859 GB, free: 6.043 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.01089, allocations: 11.98 kB / 0.986 GB, free: 6.031 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.78e-05/0.01097, allocations: 15.97 kB / 0.986 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.01097, allocations: 0 / 0.986 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 7.014e-05/0.01104, allocations: 95.27 kB / 0.9861 GB, free: 5.922 MB / 0.8887 GB Notification: Performance of sort global known variables: time 7e-08/0.01104, allocations: 0 / 0.9861 GB, free: 5.922 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000238/0.01128, allocations: 12 kB / 0.9861 GB, free: 5.91 MB / 0.8887 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 0.0001837/0.01147, allocations: 99.25 kB / 0.9862 GB, free: 5.805 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003178/0.01178, allocations: 71.94 kB / 0.9862 GB, free: 5.734 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01179, allocations: 3.938 kB / 0.9862 GB, free: 5.73 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.01193, allocations: 39.91 kB / 0.9863 GB, free: 5.691 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.01227, allocations: 8 kB / 0.9863 GB, free: 5.684 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005058/0.01278, allocations: 176.6 kB / 0.9864 GB, free: 5.484 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.499e-05/0.01285, allocations: 71.34 kB / 0.9865 GB, free: 5.395 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 5.005e-05/0.0129, allocations: 7.984 kB / 0.9865 GB, free: 5.387 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.163e-05/0.01296, allocations: 20.5 kB / 0.9865 GB, free: 5.367 MB / 0.8887 GB Notification: Performance of SimCode: time 3.91e-07/0.01296, allocations: 0 / 0.9865 GB, free: 5.367 MB / 0.8887 GB Notification: Performance of Templates: time 0.004567/0.01753, allocations: 1.346 MB / 0.9879 GB, free: 4.047 MB / 0.8887 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: 8.348499175161123]