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.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.001673/0.001673, allocations: 110 kB / 18.93 MB, free: 2.945 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.002159/0.002159, allocations: 188.2 kB / 22.23 MB, free: 5.16 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.692/1.692, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.321/3.321, allocations: 496 MB / 0.7835 GB, free: 33.67 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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 0.002062/0.002062, allocations: 70.39 kB / 1.138 GB, free: 33.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4255, allocations: 173.6 MB / 1.307 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002397/0.4279, allocations: 0.7829 MB / 1.308 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.4291, allocations: 0.8394 MB / 1.309 GB, free: 104 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.824e-05/0.4291, allocations: 4 kB / 1.309 GB, free: 100 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.356e-05/0.4292, allocations: 7.922 kB / 1.309 GB, free: 92 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.4293, allocations: 7.875 kB / 1.309 GB, free: 84 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.4294, allocations: 31.95 kB / 1.309 GB, free: 52 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.4296, allocations: 71.91 kB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.4297, allocations: 20 kB / 1.309 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.522e-05/0.4298, allocations: 27.91 kB / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.922e-05/0.4299, allocations: 47.69 kB / 1.309 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.43, allocations: 8 kB / 1.309 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.621e-05/0.43, allocations: 4 kB / 1.309 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.259e-05/0.43, allocations: 19.92 kB / 1.309 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.009e-05/0.4301, allocations: 31.8 kB / 1.309 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.4302, allocations: 79.61 kB / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.4302, allocations: 4 kB / 1.309 GB, free: 15.74 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.973e-06/0.4302, allocations: 0 / 1.309 GB, free: 15.74 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.4302, allocations: 4 kB / 1.309 GB, free: 15.74 MB / 1.014 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.0006668/0.4309, allocations: 294.1 kB / 1.31 GB, free: 15.42 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.431, allocations: 8.031 kB / 1.31 GB, free: 15.41 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.431, allocations: 8.891 kB / 1.31 GB, free: 15.4 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.4312, allocations: 130.4 kB / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.4312, allocations: 384 / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.4312, allocations: 8.375 kB / 1.31 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.4315, allocations: 86.14 kB / 1.31 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.4315, allocations: 192 / 1.31 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.4315, allocations: 3.938 kB / 1.31 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.4315, allocations: 4 kB / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002378/0.4317, allocations: 63.94 kB / 1.31 GB, free: 15.08 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005303/0.4323, allocations: 295.8 kB / 1.31 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.4325, allocations: 90.56 kB / 1.31 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.4327, allocations: 40.89 kB / 1.31 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.4327, allocations: 0 / 1.31 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.4327, allocations: 30.56 kB / 1.31 GB, free: 14.57 MB / 1.014 GB Notification: Performance of pre-optimization done (n=6): time 8.12e-07/0.4327, allocations: 0 / 1.31 GB, free: 14.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.0004764/0.4332, allocations: 141.5 kB / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.4332, allocations: 55.41 kB / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.4334, allocations: 117.8 kB / 1.311 GB, free: 14.23 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.4334, allocations: 25.7 kB / 1.311 GB, free: 14.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.4334, allocations: 96.06 kB / 1.311 GB, free: 14.11 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.4335, allocations: 15.86 kB / 1.311 GB, free: 14.09 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/0.4335, allocations: 25.7 kB / 1.311 GB, free: 14.06 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4337, allocations: 326.8 kB / 1.311 GB, free: 13.73 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.4338, allocations: 27.98 kB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.4339, allocations: 31.97 kB / 1.311 GB, free: 13.67 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.4341, allocations: 68.75 kB / 1.311 GB, free: 13.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4341, allocations: 0 / 1.311 GB, free: 13.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002792/0.4344, allocations: 105.7 kB / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.4344, allocations: 9.031 kB / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4344, allocations: 4 kB / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.4344, allocations: 0 / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.4346, allocations: 15.98 kB / 1.311 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.4346, allocations: 3.984 kB / 1.311 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.137e-05/0.4347, allocations: 8 kB / 1.311 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.4347, allocations: 0 / 1.311 GB, free: 13.45 MB / 1.014 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.0001109/0.4348, allocations: 137.6 kB / 1.311 GB, free: 13.31 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.4348, allocations: 11.89 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.107e-05/0.4349, allocations: 8.375 kB / 1.311 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4349, allocations: 0 / 1.311 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4349, allocations: 0 / 1.311 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4349, allocations: 448 / 1.311 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.4351, allocations: 168.6 kB / 1.312 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4351, allocations: 0 / 1.312 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.4352, allocations: 23.97 kB / 1.312 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4352, allocations: 4 kB / 1.312 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.4352, allocations: 4 kB / 1.312 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4352, allocations: 0 / 1.312 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4352, allocations: 0 / 1.312 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.4356, allocations: 203.4 kB / 1.312 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.4356, allocations: 3.953 kB / 1.312 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.4356, allocations: 4 kB / 1.312 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.4357, allocations: 15.92 kB / 1.312 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.965e-05/0.4358, allocations: 7.984 kB / 1.312 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.4358, allocations: 7.984 kB / 1.312 GB, free: 12.79 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.155e-05/0.4359, allocations: 99.64 kB / 1.312 GB, free: 12.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4359, allocations: 4 kB / 1.312 GB, free: 12.69 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002231/0.4361, allocations: 8 kB / 1.312 GB, free: 12.68 MB / 1.014 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.0001528/0.4363, allocations: 96.03 kB / 1.312 GB, free: 12.58 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003075/0.4366, allocations: 79.88 kB / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4366, allocations: 0 / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.4367, allocations: 47.91 kB / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.437, allocations: 7.938 kB / 1.312 GB, free: 12.45 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004894/0.4375, allocations: 166 kB / 1.312 GB, free: 12.26 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.4378, allocations: 0.6885 MB / 1.313 GB, free: 11.55 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.477e-05/0.4379, allocations: 11.73 kB / 1.313 GB, free: 11.54 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.277e-05/0.4379, allocations: 11.44 kB / 1.313 GB, free: 11.52 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/0.4379, allocations: 0 / 1.313 GB, free: 11.52 MB / 1.014 GB Notification: Performance of Templates: time 0.004178/0.4421, allocations: 1.27 MB / 1.314 GB, free: 10.26 MB / 1.014 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: 9.76306569389999]