Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001457/0.001457, allocations: 88.72 kB / 19.44 MB, free: 356 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.001573/0.001573, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.597/1.597, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 3.285/3.285, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] 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.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.614e-06/2.614e-06, allocations: 0.875 kB / 0.8777 GB, free: 5.266 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.467e-05/3.728e-05, allocations: 6.25 kB / 0.8777 GB, free: 5.258 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002312/0.00235, allocations: 0.7487 MB / 0.8784 GB, free: 4.535 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.003785, allocations: 0.8604 MB / 0.8792 GB, free: 3.664 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.024e-05/0.003845, allocations: 4 kB / 0.8792 GB, free: 3.66 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.16e-05/0.003887, allocations: 11.86 kB / 0.8792 GB, free: 3.648 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.003991, allocations: 5.906 kB / 0.8793 GB, free: 3.645 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.004181, allocations: 23.97 kB / 0.8793 GB, free: 3.621 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.004328, allocations: 76.69 kB / 0.8794 GB, free: 3.547 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.004456, allocations: 19.98 kB / 0.8794 GB, free: 3.527 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.004604, allocations: 39.91 kB / 0.8794 GB, free: 3.488 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 8.893e-05/0.004693, allocations: 32.8 kB / 0.8794 GB, free: 3.457 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.004724, allocations: 4 kB / 0.8794 GB, free: 3.453 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.825e-05/0.004742, allocations: 9.031 kB / 0.8795 GB, free: 3.445 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.004785, allocations: 19.92 kB / 0.8795 GB, free: 3.426 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 6.061e-05/0.004846, allocations: 23.91 kB / 0.8795 GB, free: 3.402 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.005019, allocations: 80.8 kB / 0.8796 GB, free: 3.324 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.005029, allocations: 4 kB / 0.8796 GB, free: 3.32 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.92e-07/0.00503, allocations: 0 / 0.8796 GB, free: 3.32 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.005037, allocations: 5.109 kB / 0.8796 GB, free: 3.316 MB / 0.7917 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.0006759/0.005713, allocations: 302 kB / 0.8799 GB, free: 2.988 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.005757, allocations: 9.031 kB / 0.8799 GB, free: 2.98 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.348e-05/0.005821, allocations: 12.89 kB / 0.8799 GB, free: 2.969 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.00599, allocations: 122.4 kB / 0.88 GB, free: 2.824 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.006013, allocations: 4.375 kB / 0.88 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.006028, allocations: 1.812 kB / 0.88 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/0.006306, allocations: 90.14 kB / 0.8801 GB, free: 2.727 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.006315, allocations: 192 / 0.8801 GB, free: 2.727 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.006329, allocations: 0.9688 kB / 0.8801 GB, free: 2.727 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.006335, allocations: 384 / 0.8801 GB, free: 2.727 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.006629, allocations: 73.25 kB / 0.8802 GB, free: 2.656 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005358/0.007165, allocations: 245.1 kB / 0.8804 GB, free: 2.387 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/0.007473, allocations: 87.16 kB / 0.8805 GB, free: 2.293 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.007621, allocations: 38.17 kB / 0.8805 GB, free: 2.254 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.007645, allocations: 3.938 kB / 0.8805 GB, free: 2.25 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.007684, allocations: 34.56 kB / 0.8806 GB, free: 2.207 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.007685, allocations: 1.281 kB / 0.8806 GB, free: 2.207 MB / 0.7917 GB Notification: Performance of matching and sorting (n=6): time 0.0005843/0.00827, allocations: 144.9 kB / 0.8807 GB, free: 2.062 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.008322, allocations: 51.41 kB / 0.8807 GB, free: 2 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.00849, allocations: 125.8 kB / 0.8809 GB, free: 1.867 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.008516, allocations: 29.7 kB / 0.8809 GB, free: 1.832 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 8.791e-05/0.008604, allocations: 100.8 kB / 0.881 GB, free: 1.73 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.00864, allocations: 19.86 kB / 0.881 GB, free: 1.711 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.371e-05/0.008714, allocations: 21.7 kB / 0.881 GB, free: 1.684 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002067/0.00892, allocations: 318.8 kB / 0.8813 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.009059, allocations: 28.97 kB / 0.8814 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.00918, allocations: 31.97 kB / 0.8814 GB, free: 1.305 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.009445, allocations: 69.75 kB / 0.8815 GB, free: 1.234 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-06/0.009452, allocations: 4 kB / 0.8815 GB, free: 1.23 MB / 0.7917 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003392/0.009791, allocations: 117.5 kB / 0.8816 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.009809, allocations: 4 kB / 0.8816 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.009814, allocations: 0 / 0.8816 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.009831, allocations: 0 / 0.8816 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.009984, allocations: 15.98 kB / 0.8816 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.00999, allocations: 0 / 0.8816 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.442e-05/0.01008, allocations: 11.98 kB / 0.8816 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.0101, allocations: 4 kB / 0.8816 GB, free: 1.074 MB / 0.7917 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.0001162/0.01021, allocations: 109.8 kB / 0.8817 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.346e-05/0.01026, allocations: 15.89 kB / 0.8817 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.671e-05/0.01029, allocations: 16.42 kB / 0.8817 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.0103, allocations: 0 / 0.8817 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.0103, allocations: 112 / 0.8817 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01031, allocations: 3.938 kB / 0.8817 GB, free: 0.9219 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.01052, allocations: 129.2 kB / 0.8819 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.01052, allocations: 0 / 0.8819 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.01065, allocations: 23.92 kB / 0.8819 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.01065, allocations: 3.938 kB / 0.8819 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.01067, allocations: 4 kB / 0.8819 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01067, allocations: 0 / 0.8819 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01067, allocations: 0 / 0.8819 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004043/0.01107, allocations: 207.4 kB / 0.8821 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 1.414e-05/0.01109, allocations: 0 / 0.8821 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.01111, allocations: 7.922 kB / 0.8821 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.01124, allocations: 11.98 kB / 0.8821 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.519e-05/0.01132, allocations: 11.98 kB / 0.8821 GB, free: 496 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.01133, allocations: 8.125 kB / 0.8821 GB, free: 488 kB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004136/0.01175, allocations: 95.7 kB / 0.8822 GB, free: 392 kB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.01175, allocations: 0 / 0.8822 GB, free: 392 kB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002533/0.012, allocations: 15.95 kB / 0.8822 GB, free: 376 kB / 0.7917 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.0001471/0.01215, allocations: 95.19 kB / 0.8823 GB, free: 272 kB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0003351/0.01248, allocations: 71.94 kB / 0.8824 GB, free: 200 kB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01248, allocations: 4 kB / 0.8824 GB, free: 196 kB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.01264, allocations: 43.91 kB / 0.8824 GB, free: 152 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.01298, allocations: 14.05 kB / 0.8825 GB, free: 140 kB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005786/0.01355, allocations: 172.6 kB / 0.8826 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.978e-05/0.01364, allocations: 71.28 kB / 0.8827 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.785e-05/0.0137, allocations: 12 kB / 0.8827 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.063e-05/0.01377, allocations: 20.48 kB / 0.8827 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of SimCode: time 8.02e-07/0.01377, allocations: 0 / 0.8827 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of Templates: time 0.004902/0.01868, allocations: 1.347 MB / 0.884 GB, free: 14.49 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.49139517499134]