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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,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=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_10_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.001114/0.001114, allocations: 99.42 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 187.8 kB / 16.92 MB, free: 6.75 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.348/1.348, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.697/2.697, allocations: 437.8 MB / 0.7128 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003686, allocations: 19.98 kB / 0.8735 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7186/0.719, allocations: 153.8 MB / 1.024 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.0009229/0.72, allocations: 493.9 kB / 1.024 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.721, allocations: 0.8428 MB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.968e-05/0.7211, allocations: 0 / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.227e-05/0.7211, allocations: 3.938 kB / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.565e-05/0.7212, allocations: 3.984 kB / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.7214, allocations: 31.97 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.336e-05/0.7215, allocations: 67.83 kB / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.7216, allocations: 23.98 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.606e-05/0.7217, allocations: 27.84 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.732e-05/0.7218, allocations: 35.83 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.7218, allocations: 4 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.318e-05/0.7218, allocations: 4 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.7218, allocations: 3.984 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.317e-05/0.7219, allocations: 57.5 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.842e-05/0.722, allocations: 43.88 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.722, allocations: 3.984 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.413e-06/0.722, allocations: 4 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.722, allocations: 0 / 1.025 GB, free: 14.27 MB / 0.7794 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.0005219/0.7225, allocations: 373.3 kB / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.7226, allocations: 12.03 kB / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.7226, allocations: 16.72 kB / 1.026 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.7228, allocations: 176.2 kB / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.7228, allocations: 384 / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.7228, allocations: 12.38 kB / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.7231, allocations: 90.14 kB / 1.026 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.7231, allocations: 192 / 1.026 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.7231, allocations: 3.938 kB / 1.026 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.7231, allocations: 0 / 1.026 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002631/0.7234, allocations: 83.88 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004446/0.7238, allocations: 324.7 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.7241, allocations: 90.53 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.7243, allocations: 44.92 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.7243, allocations: 7.922 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.7243, allocations: 34.56 kB / 1.027 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.7243, allocations: 4 kB / 1.027 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004897/0.7248, allocations: 141.5 kB / 1.027 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.7249, allocations: 63.39 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.865e-05/0.725, allocations: 117.8 kB / 1.027 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.725, allocations: 29.7 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.725, allocations: 92.06 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.7251, allocations: 19.72 kB / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.7251, allocations: 9.719 kB / 1.027 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.401e-05/0.7252, allocations: 326.8 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.7253, allocations: 36.09 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.7255, allocations: 39.84 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.7257, allocations: 89.19 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7257, allocations: 0 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003042/0.726, allocations: 113.5 kB / 1.028 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.726, allocations: 4 kB / 1.028 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.7261, allocations: 0 / 1.028 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.7261, allocations: 4 kB / 1.028 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.7262, allocations: 23.97 kB / 1.028 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.7262, allocations: 3.938 kB / 1.028 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.497e-05/0.7263, allocations: 4 kB / 1.028 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.7263, allocations: 7.984 kB / 1.028 GB, free: 11.7 MB / 0.7794 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 9.27e-05/0.7264, allocations: 122.2 kB / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.7265, allocations: 3.906 kB / 1.028 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.7265, allocations: 16.38 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.7265, allocations: 0 / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.7265, allocations: 0 / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.7265, allocations: 0 / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.7268, allocations: 193.6 kB / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.7268, allocations: 3.938 kB / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.7269, allocations: 23.97 kB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.7269, allocations: 0 / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.7269, allocations: 0 / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.7269, allocations: 7.984 kB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7269, allocations: 0 / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.7273, allocations: 215.3 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.7273, allocations: 85.09 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.7274, allocations: 8 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.7275, allocations: 8 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/0.7276, allocations: 19.95 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.7276, allocations: 128 / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.987e-05/0.7276, allocations: 95.27 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.7276, allocations: 0 / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002331/0.7279, allocations: 12 kB / 1.028 GB, free: 10.8 MB / 0.7794 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.0001288/0.728, allocations: 107.2 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003028/0.7283, allocations: 91.81 kB / 1.029 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.7283, allocations: 0 / 1.029 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.7285, allocations: 47.97 kB / 1.029 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.7288, allocations: 9.719 kB / 1.029 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004372/0.7292, allocations: 206.5 kB / 1.029 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.7295, allocations: 0.6926 MB / 1.029 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.637e-05/0.7295, allocations: 19.42 kB / 1.03 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.7295, allocations: 0 / 1.03 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of Templates: time 0.002524/0.7321, allocations: 1.04 MB / 1.031 GB, free: 8.539 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches