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.001814/0.001814, allocations: 118.2 kB / 17.13 MB, free: 5.918 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.002072/0.002072, allocations: 192.7 kB / 20.08 MB, free: 2.988 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.538/1.538, allocations: 225.6 MB / 248.5 MB, free: 3.629 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.6/2.6, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 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.002334/0.002334, allocations: 75.88 kB / 1.057 GB, free: 1.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3307, allocations: 160.7 MB / 1.214 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002109/0.3328, allocations: 0.7674 MB / 1.215 GB, free: 124 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.3339, allocations: 0.839 MB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.232e-05/0.3339, allocations: 4 kB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.228e-05/0.334, allocations: 11.86 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.999e-05/0.334, allocations: 7.938 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001407/0.3342, allocations: 27.91 kB / 1.216 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.3343, allocations: 75.81 kB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.3344, allocations: 19.98 kB / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.551e-05/0.3345, allocations: 23.92 kB / 1.216 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.76e-05/0.3346, allocations: 43.81 kB / 1.216 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.3346, allocations: 8 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.499e-05/0.3346, allocations: 4 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.775e-05/0.3346, allocations: 19.92 kB / 1.216 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.121e-05/0.3347, allocations: 31.8 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.3348, allocations: 75.62 kB / 1.216 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.3348, allocations: 4 kB / 1.216 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3348, allocations: 4 kB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3348, allocations: 0 / 1.216 GB, free: 14.91 MB / 0.9669 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.0006009/0.3354, allocations: 381.5 kB / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.3355, allocations: 8.031 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.3355, allocations: 8.891 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.3357, allocations: 180.3 kB / 1.217 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.3357, allocations: 4.375 kB / 1.217 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.3357, allocations: 8.375 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.3359, allocations: 86.14 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.336, allocations: 192 / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.336, allocations: 3.938 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.336, allocations: 0 / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002476/0.3362, allocations: 71.88 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005014/0.3367, allocations: 328.6 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.337, allocations: 86.53 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.3371, allocations: 36.92 kB / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.3371, allocations: 4 kB / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.3372, allocations: 38.56 kB / 1.217 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.3372, allocations: 0 / 1.217 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0004927/0.3377, allocations: 137.5 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.3377, allocations: 51.41 kB / 1.217 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.3378, allocations: 117.8 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.3379, allocations: 29.69 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.3379, allocations: 96.08 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.3379, allocations: 19.86 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.338, allocations: 21.7 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3381, allocations: 322.8 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.3383, allocations: 27.98 kB / 1.218 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.3384, allocations: 27.97 kB / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.3386, allocations: 72.81 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3386, allocations: 4 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002901/0.3389, allocations: 105.5 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3389, allocations: 4 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.3389, allocations: 0 / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3389, allocations: 0 / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.3391, allocations: 19.97 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.3391, allocations: 0 / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.373e-05/0.3392, allocations: 8 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.3392, allocations: 4.109 kB / 1.218 GB, free: 12.42 MB / 0.9669 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.0001034/0.3393, allocations: 121.7 kB / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.3393, allocations: 7.953 kB / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.3393, allocations: 12.38 kB / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.3393, allocations: 0 / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3394, allocations: 448 / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3394, allocations: 0 / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/0.3396, allocations: 197.5 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.3396, allocations: 4 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.3397, allocations: 27.91 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3397, allocations: 0 / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.3397, allocations: 3.984 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3397, allocations: 4 kB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-07/0.3397, allocations: 0 / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.3401, allocations: 199.4 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.3401, allocations: 89.06 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.3401, allocations: 7.984 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.3403, allocations: 7.938 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.3403, allocations: 11.98 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.3403, allocations: 3.984 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.291e-05/0.3404, allocations: 95.7 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3404, allocations: 0 / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002264/0.3406, allocations: 16 kB / 1.219 GB, free: 11.54 MB / 0.9669 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.0001503/0.3408, allocations: 103.2 kB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003058/0.3411, allocations: 75.88 kB / 1.219 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3411, allocations: 0 / 1.219 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.3412, allocations: 39.91 kB / 1.219 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.3415, allocations: 8.328 kB / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004686/0.342, allocations: 195 kB / 1.219 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.3423, allocations: 0.6924 MB / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.889e-05/0.3424, allocations: 19.42 kB / 1.22 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of SimCode: time 3.61e-07/0.3424, allocations: 0 / 1.22 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of Templates: time 0.002718/0.3451, allocations: 1.062 MB / 1.221 GB, free: 9.285 MB / 0.9669 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.341527884127572]