Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 103.8 kB / 17.07 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001895/0.001895, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.66/2.66, allocations: 437.1 MB / 0.7177 GB, free: 4.492 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 67.89 kB / 1.028 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3097, allocations: 151.6 MB / 1.176 GB, free: 5.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002299/0.312, allocations: 0.7644 MB / 1.177 GB, free: 5.016 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.3133, allocations: 0.8472 MB / 1.177 GB, free: 4.156 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.872e-05/0.3134, allocations: 0 / 1.177 GB, free: 4.156 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.484e-05/0.3134, allocations: 7.875 kB / 1.177 GB, free: 4.148 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.3136, allocations: 7.922 kB / 1.177 GB, free: 4.141 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.3137, allocations: 23.97 kB / 1.178 GB, free: 4.117 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.3139, allocations: 83.75 kB / 1.178 GB, free: 4.035 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.314, allocations: 20 kB / 1.178 GB, free: 4.016 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.557e-05/0.3141, allocations: 27.91 kB / 1.178 GB, free: 3.988 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.3142, allocations: 39.84 kB / 1.178 GB, free: 3.949 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.3142, allocations: 4 kB / 1.178 GB, free: 3.945 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.046e-05/0.3143, allocations: 8 kB / 1.178 GB, free: 3.938 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.928e-05/0.3143, allocations: 27.91 kB / 1.178 GB, free: 3.91 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.355e-05/0.3143, allocations: 27.8 kB / 1.178 GB, free: 3.883 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.3145, allocations: 75.67 kB / 1.178 GB, free: 3.809 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.3145, allocations: 0 / 1.178 GB, free: 3.809 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3145, allocations: 3.938 kB / 1.178 GB, free: 3.805 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3146, allocations: 0 / 1.178 GB, free: 3.805 MB / 0.92 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.000683/0.3153, allocations: 387.1 kB / 1.178 GB, free: 3.375 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3153, allocations: 8.031 kB / 1.178 GB, free: 3.367 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.3153, allocations: 12.89 kB / 1.178 GB, free: 3.355 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.3155, allocations: 180.3 kB / 1.178 GB, free: 3.141 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.3156, allocations: 4.375 kB / 1.178 GB, free: 3.137 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.3156, allocations: 4.375 kB / 1.178 GB, free: 3.133 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/0.3159, allocations: 86.14 kB / 1.178 GB, free: 3.043 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3159, allocations: 192 / 1.178 GB, free: 3.043 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.3159, allocations: 3.938 kB / 1.178 GB, free: 3.039 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3159, allocations: 0 / 1.178 GB, free: 3.039 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002668/0.3162, allocations: 75.88 kB / 1.179 GB, free: 2.965 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005524/0.3168, allocations: 320.7 kB / 1.179 GB, free: 2.602 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.3171, allocations: 90.47 kB / 1.179 GB, free: 2.504 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.3172, allocations: 40.92 kB / 1.179 GB, free: 2.461 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.3173, allocations: 4 kB / 1.179 GB, free: 2.457 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.3173, allocations: 30.56 kB / 1.179 GB, free: 2.418 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.3173, allocations: 0 / 1.179 GB, free: 2.418 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0005026/0.3178, allocations: 137.6 kB / 1.179 GB, free: 2.277 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.3179, allocations: 51.41 kB / 1.179 GB, free: 2.215 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.318, allocations: 118.2 kB / 1.179 GB, free: 2.09 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.3181, allocations: 37.64 kB / 1.179 GB, free: 2.047 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.19e-05/0.3182, allocations: 96.06 kB / 1.179 GB, free: 1.949 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.3182, allocations: 15.86 kB / 1.179 GB, free: 1.934 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.125e-05/0.3183, allocations: 25.64 kB / 1.179 GB, free: 1.902 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3185, allocations: 318.8 kB / 1.18 GB, free: 1.582 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.3186, allocations: 31.97 kB / 1.18 GB, free: 1.551 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.3187, allocations: 31.97 kB / 1.18 GB, free: 1.52 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.319, allocations: 68.92 kB / 1.18 GB, free: 1.449 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.319, allocations: 3.938 kB / 1.18 GB, free: 1.445 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003014/0.3193, allocations: 102 kB / 1.18 GB, free: 1.34 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.3193, allocations: 8 kB / 1.18 GB, free: 1.332 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3193, allocations: 0 / 1.18 GB, free: 1.332 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3193, allocations: 0 / 1.18 GB, free: 1.332 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.3195, allocations: 31.92 kB / 1.18 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3195, allocations: 0 / 1.18 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.451e-05/0.3196, allocations: 7.984 kB / 1.18 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.3196, allocations: 0 / 1.18 GB, free: 1.293 MB / 0.92 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.0001049/0.3197, allocations: 117.8 kB / 1.18 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.3198, allocations: 7.953 kB / 1.18 GB, free: 1.16 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.3198, allocations: 12.36 kB / 1.18 GB, free: 1.148 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3198, allocations: 0 / 1.18 GB, free: 1.148 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3198, allocations: 4 kB / 1.18 GB, free: 1.145 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3198, allocations: 4 kB / 1.18 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.3201, allocations: 193.5 kB / 1.18 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3201, allocations: 0 / 1.18 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.3202, allocations: 19.98 kB / 1.18 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.3203, allocations: 0 / 1.18 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.3203, allocations: 3.984 kB / 1.18 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3203, allocations: 0 / 1.18 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3203, allocations: 0 / 1.18 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.3207, allocations: 211.3 kB / 1.181 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.056e-05/0.3207, allocations: 81.06 kB / 1.181 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.3208, allocations: 4 kB / 1.181 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.3209, allocations: 7.984 kB / 1.181 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/0.321, allocations: 15.98 kB / 1.181 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.321, allocations: 0 / 1.181 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.825e-05/0.3211, allocations: 99.31 kB / 1.181 GB, free: 444 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3211, allocations: 0 / 1.181 GB, free: 444 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002348/0.3213, allocations: 12 kB / 1.181 GB, free: 432 kB / 0.92 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.000155/0.3215, allocations: 103.2 kB / 1.181 GB, free: 320 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003172/0.3218, allocations: 79.81 kB / 1.181 GB, free: 240 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3218, allocations: 3.938 kB / 1.181 GB, free: 236 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.322, allocations: 43.91 kB / 1.181 GB, free: 192 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.3223, allocations: 5.875 kB / 1.181 GB, free: 188 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004885/0.3228, allocations: 197.9 kB / 1.181 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.3231, allocations: 0.6924 MB / 1.182 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.974e-05/0.3232, allocations: 11.44 kB / 1.182 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of SimCode: time 2.475e-06/0.3232, allocations: 0 / 1.182 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of Templates: time 0.002818/0.326, allocations: 1.06 MB / 1.183 GB, free: 14.17 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.128340860945173]