Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001808/0.001808, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.002061/0.002061, allocations: 161.7 kB / 23.55 MB, free: 0.8867 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.492/1.492, allocations: 177.2 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.755/2.755, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0.875 kB / 0.7864 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.158e-05/3.417e-05, allocations: 2.312 kB / 0.7865 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001982/0.002016, allocations: 0.7571 MB / 0.7872 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.003332, allocations: 0.8671 MB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.095e-05/0.003383, allocations: 4 kB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.498e-05/0.003418, allocations: 5.344 kB / 0.788 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.673e-05/0.003514, allocations: 7.922 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.003691, allocations: 28.75 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.003834, allocations: 71.78 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.003962, allocations: 19.97 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.00408, allocations: 40.47 kB / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.014e-05/0.00416, allocations: 32.62 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.004184, allocations: 4 kB / 0.7882 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.586e-05/0.0042, allocations: 8.906 kB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.231e-05/0.004232, allocations: 19.92 kB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.381e-05/0.004276, allocations: 20.58 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.004427, allocations: 75.73 kB / 0.7884 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.004433, allocations: 4.562 kB / 0.7884 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.92e-07/0.004434, allocations: 3.938 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.004439, allocations: 3.438 kB / 0.7884 GB, free: 10.77 MB / 0.7448 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.0007417/0.00518, allocations: 302.1 kB / 0.7887 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.005231, allocations: 8.031 kB / 0.7887 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.87e-05/0.00531, allocations: 12.89 kB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.005516, allocations: 117.7 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.005545, allocations: 8.375 kB / 0.7888 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.005564, allocations: 384 / 0.7888 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003726/0.005937, allocations: 86.92 kB / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.005948, allocations: 192 / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.005964, allocations: 2.031 kB / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.00597, allocations: 4.312 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003903/0.00636, allocations: 77.16 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006744/0.007034, allocations: 248.5 kB / 0.7892 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004131/0.007447, allocations: 88.06 kB / 0.7893 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.007667, allocations: 36.92 kB / 0.7893 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.007695, allocations: 3.938 kB / 0.7893 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.424e-05/0.007749, allocations: 35.81 kB / 0.7894 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.007751, allocations: 0 / 0.7894 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0008092/0.00856, allocations: 134.9 kB / 0.7895 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/0.00863, allocations: 55.39 kB / 0.7895 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.008835, allocations: 125.8 kB / 0.7897 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.008864, allocations: 26.23 kB / 0.7897 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.008967, allocations: 100.5 kB / 0.7898 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/0.009012, allocations: 20.73 kB / 0.7898 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-05/0.009092, allocations: 21.7 kB / 0.7898 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002457/0.009338, allocations: 318.8 kB / 0.7901 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.009544, allocations: 28.78 kB / 0.7902 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.00973, allocations: 32.5 kB / 0.7902 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.0101, allocations: 66.19 kB / 0.7902 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.0101, allocations: 384 / 0.7902 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004789/0.01058, allocations: 114.8 kB / 0.7904 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.0106, allocations: 8.656 kB / 0.7904 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.01061, allocations: 0 / 0.7904 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/0.01064, allocations: 4.703 kB / 0.7904 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.01086, allocations: 20.03 kB / 0.7904 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.01087, allocations: 5.125 kB / 0.7904 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.011, allocations: 7.984 kB / 0.7904 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.01101, allocations: 0.75 kB / 0.7904 GB, free: 8.535 MB / 0.7448 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.0001457/0.01116, allocations: 113.8 kB / 0.7905 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.98e-05/0.01122, allocations: 13.11 kB / 0.7905 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.118e-05/0.01126, allocations: 16.44 kB / 0.7905 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.01127, allocations: 3.984 kB / 0.7905 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.01127, allocations: 0.9688 kB / 0.7905 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.01127, allocations: 0 / 0.7905 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.01158, allocations: 129.2 kB / 0.7907 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01158, allocations: 2.25 kB / 0.7907 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.01175, allocations: 19.97 kB / 0.7907 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.01176, allocations: 3.938 kB / 0.7907 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.01177, allocations: 0 / 0.7907 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.01177, allocations: 0 / 0.7907 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01177, allocations: 3.25 kB / 0.7907 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005721/0.01234, allocations: 207.4 kB / 0.7909 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.545e-05/0.01237, allocations: 7.953 kB / 0.7909 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.0124, allocations: 7.922 kB / 0.7909 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.01258, allocations: 4 kB / 0.7909 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.176e-05/0.01267, allocations: 15.97 kB / 0.7909 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.01269, allocations: 4 kB / 0.7909 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001126/0.0128, allocations: 96.36 kB / 0.791 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.0128, allocations: 0 / 0.791 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004271/0.01323, allocations: 12 kB / 0.791 GB, free: 7.844 MB / 0.7448 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.0001881/0.01342, allocations: 92.31 kB / 0.7911 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004496/0.01386, allocations: 77.69 kB / 0.7912 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.01387, allocations: 0 / 0.7912 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.01409, allocations: 44.91 kB / 0.7912 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005194/0.01461, allocations: 8.812 kB / 0.7912 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007127/0.01532, allocations: 180.1 kB / 0.7914 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.01545, allocations: 81.61 kB / 0.7915 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.188e-05/0.01553, allocations: 9.812 kB / 0.7915 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.86e-05/0.01562, allocations: 20.42 kB / 0.7915 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.01562, allocations: 0 / 0.7915 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of Templates: time 0.00569/0.02131, allocations: 1.351 MB / 0.7928 GB, free: 5.973 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.9357702769339085]