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.1-maint.10.0.x/package.mo", uses=false) 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=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.001395/0.001395, allocations: 108 kB / 15.61 MB, free: 152 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.001563/0.001563, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.491/1.491, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.729/2.729, allocations: 437 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 67.89 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7312/0.7327, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002055/0.7348, allocations: 0.7545 MB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009703/0.7358, allocations: 0.8428 MB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.955e-05/0.7358, allocations: 0 / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.235e-05/0.7359, allocations: 3.938 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.608e-05/0.736, allocations: 11.92 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.7362, allocations: 31.91 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.7363, allocations: 67.91 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.7364, allocations: 23.95 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.707e-05/0.7365, allocations: 31.86 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.972e-05/0.7366, allocations: 39.83 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.7366, allocations: 8 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.842e-05/0.7366, allocations: 8 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.875e-05/0.7367, allocations: 19.92 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.7367, allocations: 39.78 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.7369, allocations: 71.75 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7369, allocations: 0 / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7369, allocations: 0 / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.7369, allocations: 3.938 kB / 1.019 GB, free: 0.5508 MB / 0.7637 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.0005997/0.7375, allocations: 374.5 kB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.7375, allocations: 8.031 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.488e-05/0.7376, allocations: 8.844 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.7378, allocations: 184.2 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.7378, allocations: 8.375 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.7378, allocations: 4.375 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.7381, allocations: 82.14 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.7381, allocations: 8.125 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.7381, allocations: 11.92 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.7381, allocations: 4 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.7384, allocations: 63.94 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.7388, allocations: 320.8 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.7391, allocations: 86.47 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.7392, allocations: 36.94 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.7392, allocations: 7.984 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.7392, allocations: 34.56 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.7392, allocations: 0 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004796/0.7397, allocations: 129.5 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.7398, allocations: 55.34 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.361e-05/0.7399, allocations: 125.8 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.7399, allocations: 25.7 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.7399, allocations: 99.98 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.74, allocations: 19.78 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.74, allocations: 17.72 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.862e-05/0.7401, allocations: 322.8 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.7403, allocations: 31.97 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.7404, allocations: 27.98 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.7406, allocations: 76.8 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.7406, allocations: 112 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002679/0.7409, allocations: 101.5 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.7409, allocations: 11.92 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.7409, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.7409, allocations: 8 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.7411, allocations: 12.42 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.7411, allocations: 3.984 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.052e-05/0.7412, allocations: 11.98 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.7412, allocations: 0 / 1.021 GB, free: 14.05 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 7.953e-05/0.7413, allocations: 123.2 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.7413, allocations: 7.906 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.7413, allocations: 12.38 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.7414, allocations: 4 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.7414, allocations: 3.938 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.7414, allocations: 3.984 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.7416, allocations: 193.6 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.7416, allocations: 0 / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.7417, allocations: 15.98 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.7417, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.7417, allocations: 4 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.7417, allocations: 0 / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.7417, allocations: 3.938 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.742, allocations: 207.3 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.7421, allocations: 85.02 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.7421, allocations: 4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.7422, allocations: 7.984 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.7423, allocations: 11.98 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.7423, allocations: 4 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.064e-05/0.7424, allocations: 95.7 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7424, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002258/0.7426, allocations: 16 kB / 1.022 GB, free: 13.17 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.0001363/0.7427, allocations: 95.25 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003016/0.743, allocations: 79.81 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.7431, allocations: 0 / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.7432, allocations: 47.91 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.7435, allocations: 8.328 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.744, allocations: 169.5 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.7442, allocations: 0.6963 MB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.216e-05/0.7443, allocations: 4 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.7443, allocations: 15.42 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7443, allocations: 0 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of Templates: time 0.00338/0.7477, allocations: 1.228 MB / 1.024 GB, free: 10.78 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/jenkins/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