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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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=5000,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=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001186, allocations: 110.9 kB / 16.37 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 189.9 kB / 17.3 MB, free: 5.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.485/2.485, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 64.66 kB / 0.8774 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3265, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002191/0.3288, allocations: 0.7668 MB / 1.027 GB, free: 1.305 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.3298, allocations: 0.839 MB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.758e-05/0.3299, allocations: 4 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.136e-05/0.33, allocations: 11.86 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.097e-05/0.33, allocations: 7.875 kB / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.3302, allocations: 27.91 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.3304, allocations: 75.81 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.3305, allocations: 31.84 kB / 1.028 GB, free: 304 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.869e-05/0.3306, allocations: 23.92 kB / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.934e-05/0.3307, allocations: 47.81 kB / 1.029 GB, free: 232 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.3307, allocations: 4 kB / 1.029 GB, free: 228 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.76e-05/0.3307, allocations: 8 kB / 1.029 GB, free: 220 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.85e-05/0.3308, allocations: 19.92 kB / 1.029 GB, free: 200 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/0.3308, allocations: 23.86 kB / 1.029 GB, free: 176 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.3309, allocations: 79.62 kB / 1.029 GB, free: 96 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.331, allocations: 0 / 1.029 GB, free: 96 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.553e-06/0.331, allocations: 0 / 1.029 GB, free: 96 kB / 0.795 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.331, allocations: 0 / 1.029 GB, free: 96 kB / 0.795 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.000587/0.3316, allocations: 380.5 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.3316, allocations: 12.03 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.3317, allocations: 8.844 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.3318, allocations: 176.2 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.3318, allocations: 4.375 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.3319, allocations: 4.375 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.3321, allocations: 82.14 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3321, allocations: 8.188 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.3321, allocations: 3.938 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.3321, allocations: 0 / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/0.3324, allocations: 71.88 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005107/0.3329, allocations: 324.6 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.3331, allocations: 90.47 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.3333, allocations: 40.92 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.3333, allocations: 0 / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.3334, allocations: 30.56 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 9.31e-07/0.3334, allocations: 0 / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0004691/0.3338, allocations: 145.7 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.3339, allocations: 51.41 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.334, allocations: 118.2 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.334, allocations: 29.7 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.039e-05/0.3341, allocations: 96.03 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.3342, allocations: 19.66 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.3342, allocations: 21.7 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.3344, allocations: 326.8 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.3345, allocations: 27.98 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.3347, allocations: 31.97 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.3349, allocations: 64.81 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3349, allocations: 3.938 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002758/0.3352, allocations: 105.6 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3352, allocations: 8 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3352, allocations: 0 / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.3352, allocations: 0 / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.3354, allocations: 23.97 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3354, allocations: 0 / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.997e-05/0.3355, allocations: 7.906 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.3355, allocations: 4.094 kB / 1.031 GB, free: 13.59 MB / 0.8106 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.0001283/0.3357, allocations: 133.6 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.3357, allocations: 4 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.628e-05/0.3357, allocations: 8.375 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3358, allocations: 0 / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.81e-05/0.3358, allocations: 4 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3358, allocations: 0 / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.336, allocations: 197.5 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3361, allocations: 0 / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.3362, allocations: 23.91 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3362, allocations: 0 / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.3362, allocations: 4 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.3362, allocations: 256 / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3362, allocations: 4 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003483/0.3366, allocations: 199.4 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.3366, allocations: 81.02 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.3367, allocations: 7.984 kB / 1.032 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.3368, allocations: 8 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.19e-05/0.3369, allocations: 15.98 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.3369, allocations: 3.984 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.645e-05/0.337, allocations: 99.31 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.337, allocations: 0 / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002298/0.3372, allocations: 11.94 kB / 1.032 GB, free: 12.71 MB / 0.8106 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.0002024/0.3374, allocations: 107.2 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002975/0.3377, allocations: 79.88 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3377, allocations: 0 / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.3379, allocations: 39.97 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.3382, allocations: 4 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004417/0.3386, allocations: 173.4 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.3389, allocations: 0.6951 MB / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.769e-05/0.339, allocations: 7.984 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/0.339, allocations: 15.44 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.339, allocations: 3.938 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of Templates: time 0.003649/0.3427, allocations: 1.227 MB / 1.034 GB, free: 10.32 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches