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.00157/0.00157, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001395/0.001395, allocations: 195.2 kB / 16.14 MB, free: 6.633 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.492/1.492, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.968/2.968, allocations: 437 MB / 0.7099 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003165/0.003166, allocations: 71.89 kB / 0.8686 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8672/0.8704, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002238/0.8727, allocations: 0.8211 MB / 1.017 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.8739, allocations: 0.8389 MB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/0.8739, allocations: 8 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.878e-05/0.874, allocations: 0 / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.325e-05/0.8741, allocations: 3.938 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.8742, allocations: 27.97 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.8744, allocations: 67.78 kB / 1.018 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.8745, allocations: 27.95 kB / 1.018 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.075e-05/0.8746, allocations: 27.92 kB / 1.018 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.992e-05/0.8747, allocations: 35.83 kB / 1.018 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.8748, allocations: 4 kB / 1.018 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.794e-05/0.8748, allocations: 4 kB / 1.018 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.435e-05/0.8748, allocations: 27.84 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.362e-05/0.8749, allocations: 23.86 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.875, allocations: 67.73 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.875, allocations: 0 / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.41e-07/0.875, allocations: 0 / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.875, allocations: 0 / 1.019 GB, free: 0.7578 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.0006822/0.8757, allocations: 385.2 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.8758, allocations: 12.03 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.8758, allocations: 8.844 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.876, allocations: 180.2 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.876, allocations: 384 / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.8761, allocations: 12.31 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.8763, allocations: 78.2 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.8763, allocations: 192 / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.8764, allocations: 11.98 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.8764, allocations: 3.984 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.8767, allocations: 67.89 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005653/0.8772, allocations: 320.6 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.8775, allocations: 90.53 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.8776, allocations: 40.94 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.8777, allocations: 0 / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.8777, allocations: 38.48 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.8777, allocations: 0 / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004951/0.8782, allocations: 133.6 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.8783, allocations: 51.41 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.8784, allocations: 121.8 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.8784, allocations: 29.7 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.8785, allocations: 99.97 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.86e-05/0.8786, allocations: 19.81 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/0.8786, allocations: 21.66 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.8788, allocations: 326.8 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.8789, allocations: 31.97 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.879, allocations: 27.98 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.8793, allocations: 68.75 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8793, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002847/0.8796, allocations: 101.6 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.8796, allocations: 9.562 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.8796, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.8796, allocations: 3.984 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.8798, allocations: 19.98 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.8798, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.508e-05/0.8799, allocations: 7.984 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.8799, allocations: 3.938 kB / 1.021 GB, free: 14.25 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 0.0001065/0.88, allocations: 129.7 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.8801, allocations: 7.906 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.798e-05/0.8801, allocations: 8.375 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.8801, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.8801, allocations: 4 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.8801, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.8804, allocations: 194 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8804, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.8805, allocations: 23.98 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.8805, allocations: 4 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.8805, allocations: 0 / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.8806, allocations: 0 / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8806, allocations: 0 / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.8809, allocations: 207.3 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.628e-05/0.881, allocations: 85 kB / 1.021 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.881, allocations: 4 kB / 1.021 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.8811, allocations: 8 kB / 1.021 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/0.8812, allocations: 15.97 kB / 1.021 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.8812, allocations: 0 / 1.021 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.562e-05/0.8813, allocations: 103.6 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8813, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002262/0.8816, allocations: 8 kB / 1.022 GB, free: 13.38 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.0001737/0.8817, allocations: 99.78 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003142/0.8821, allocations: 79.88 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8821, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.8822, allocations: 47.91 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.8826, allocations: 4.328 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005279/0.8832, allocations: 186.2 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.8835, allocations: 0.6926 MB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.126e-05/0.8836, allocations: 8 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.582e-05/0.8836, allocations: 15.42 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.8836, allocations: 0 / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of Templates: time 0.00368/0.8873, allocations: 1.073 MB / 1.024 GB, free: 11.12 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=400 -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