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.001053/0.001053, allocations: 106.9 kB / 16.35 MB, free: 5.824 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.0011/0.0011, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.586/2.586, allocations: 437.1 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 64.56 kB / 0.8707 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3073, allocations: 151.6 MB / 1.019 GB, free: 9.766 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001889/0.3092, allocations: 0.7681 MB / 1.02 GB, free: 9 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008743/0.3101, allocations: 0.8428 MB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.767e-05/0.3102, allocations: 0 / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.845e-05/0.3102, allocations: 3.938 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.565e-05/0.3103, allocations: 15.86 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.3104, allocations: 31.95 kB / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.614e-05/0.3106, allocations: 67.89 kB / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.3107, allocations: 16 kB / 1.021 GB, free: 8.012 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.721e-05/0.3107, allocations: 35.84 kB / 1.021 GB, free: 7.977 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.427e-05/0.3108, allocations: 43.77 kB / 1.021 GB, free: 7.934 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.3109, allocations: 8 kB / 1.021 GB, free: 7.926 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.324e-05/0.3109, allocations: 8 kB / 1.021 GB, free: 7.918 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.711e-05/0.3109, allocations: 19.97 kB / 1.021 GB, free: 7.898 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/0.3109, allocations: 27.8 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.3111, allocations: 75.75 kB / 1.021 GB, free: 7.797 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.3111, allocations: 0 / 1.021 GB, free: 7.797 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3111, allocations: 0 / 1.021 GB, free: 7.797 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3111, allocations: 0 / 1.021 GB, free: 7.797 MB / 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.0005415/0.3116, allocations: 379.2 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3117, allocations: 8.031 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.3117, allocations: 16.78 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.3119, allocations: 180.2 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.3119, allocations: 384 / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.3119, allocations: 12.31 kB / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.3121, allocations: 82.19 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.3122, allocations: 192 / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.3122, allocations: 3.938 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.3122, allocations: 4 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002277/0.3124, allocations: 67.94 kB / 1.021 GB, free: 6.965 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004676/0.3129, allocations: 332.6 kB / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.3131, allocations: 86.52 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.3133, allocations: 36.92 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.3133, allocations: 8 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.3133, allocations: 30.56 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.3133, allocations: 0 / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.0004446/0.3138, allocations: 137.5 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.3138, allocations: 51.52 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.314, allocations: 121.8 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.314, allocations: 33.7 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.3141, allocations: 96.03 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.3141, allocations: 23.66 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.3141, allocations: 21.7 kB / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3143, allocations: 314.8 kB / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.3144, allocations: 31.97 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.997e-05/0.3145, allocations: 31.97 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.3147, allocations: 76.75 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3147, allocations: 0 / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002538/0.315, allocations: 97.64 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.315, allocations: 4 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.315, allocations: 0 / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.315, allocations: 4 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.3152, allocations: 19.98 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.153e-05/0.3152, allocations: 4 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.069e-05/0.3153, allocations: 11.89 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.3153, allocations: 0 / 1.023 GB, free: 5.289 MB / 0.795 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.647e-05/0.3154, allocations: 121.7 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.3154, allocations: 3.984 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/0.3155, allocations: 12.38 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3155, allocations: 0 / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3155, allocations: 0 / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3155, allocations: 4 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.3157, allocations: 197.5 kB / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.3157, allocations: 0 / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.3158, allocations: 16.42 kB / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3158, allocations: 0 / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.3158, allocations: 11.92 kB / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3158, allocations: 4 kB / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3158, allocations: 0 / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.3162, allocations: 203.3 kB / 1.023 GB, free: 4.652 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.259e-05/0.3163, allocations: 85.02 kB / 1.024 GB, free: 4.551 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.3163, allocations: 3.938 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.3164, allocations: 11.92 kB / 1.024 GB, free: 4.535 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.924e-05/0.3165, allocations: 15.98 kB / 1.024 GB, free: 4.52 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.3165, allocations: 4 kB / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.094e-05/0.3166, allocations: 91.7 kB / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3166, allocations: 4 kB / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002301/0.3168, allocations: 15.94 kB / 1.024 GB, free: 4.406 MB / 0.795 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.0001596/0.317, allocations: 103.2 kB / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002981/0.3173, allocations: 71.89 kB / 1.024 GB, free: 4.227 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3173, allocations: 0 / 1.024 GB, free: 4.227 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.3174, allocations: 47.89 kB / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.3177, allocations: 12 kB / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005116/0.3183, allocations: 165.5 kB / 1.024 GB, free: 3.977 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005193/0.3188, allocations: 0.6885 MB / 1.025 GB, free: 3.262 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 5.089e-05/0.3188, allocations: 12 kB / 1.025 GB, free: 3.25 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/0.3189, allocations: 19.42 kB / 1.025 GB, free: 3.23 MB / 0.795 GB Notification: Performance of SimCode: time 2.7e-07/0.3189, allocations: 0 / 1.025 GB, free: 3.23 MB / 0.795 GB Notification: Performance of Templates: time 0.00463/0.3235, allocations: 1.22 MB / 1.026 GB, free: 2.016 MB / 0.795 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 -s cvode -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