Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 103.9 kB / 16.35 MB, free: 5.828 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.001769/0.001769, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.15 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.593/2.593, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 65 kB / 0.8707 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3816, allocations: 151.6 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002026/0.3837, allocations: 0.7809 MB / 1.02 GB, free: 9.059 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000979/0.3847, allocations: 0.8701 MB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.3848, allocations: 4 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.658e-05/0.3848, allocations: 15.8 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.072e-05/0.3849, allocations: 3.938 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.3851, allocations: 47.88 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.3852, allocations: 79.8 kB / 1.021 GB, free: 8.027 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.3854, allocations: 27.98 kB / 1.021 GB, free: 8 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.629e-05/0.3854, allocations: 39.78 kB / 1.021 GB, free: 7.961 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.444e-05/0.3855, allocations: 47.83 kB / 1.021 GB, free: 7.914 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.3856, allocations: 8 kB / 1.021 GB, free: 7.906 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.791e-05/0.3856, allocations: 8 kB / 1.021 GB, free: 7.898 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.766e-05/0.3856, allocations: 27.89 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.054e-05/0.3857, allocations: 35.8 kB / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.3859, allocations: 87.66 kB / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3859, allocations: 0 / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3859, allocations: 4 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3859, allocations: 0 / 1.021 GB, free: 7.746 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006353/0.3865, allocations: 391.2 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.3866, allocations: 12.62 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.3866, allocations: 8.844 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.3868, allocations: 180.2 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.3868, allocations: 8.375 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.3868, allocations: 8.375 kB / 1.021 GB, free: 7.066 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.3871, allocations: 101.7 kB / 1.021 GB, free: 6.961 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.3871, allocations: 0 / 1.021 GB, free: 6.961 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.3871, allocations: 8 kB / 1.022 GB, free: 6.953 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3871, allocations: 0 / 1.022 GB, free: 6.953 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003527/0.3875, allocations: 95.89 kB / 1.022 GB, free: 6.859 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.388, allocations: 348.6 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006192/0.3887, allocations: 118.5 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.3889, allocations: 66.28 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.3889, allocations: 0 / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.3889, allocations: 30.56 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 9.21e-07/0.3889, allocations: 0 / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0006372/0.3896, allocations: 185.5 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.3896, allocations: 55.39 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.3897, allocations: 121.8 kB / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.3897, allocations: 29.7 kB / 1.023 GB, free: 5.82 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.163e-05/0.3898, allocations: 96.03 kB / 1.023 GB, free: 5.723 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.3899, allocations: 19.75 kB / 1.023 GB, free: 5.703 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.3899, allocations: 25.7 kB / 1.023 GB, free: 5.672 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3901, allocations: 326.8 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.3902, allocations: 47.89 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.3904, allocations: 43.95 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/0.3907, allocations: 92.78 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3907, allocations: 8 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003924/0.3911, allocations: 137.5 kB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3912, allocations: 8 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3912, allocations: 0 / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3912, allocations: 0 / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.3914, allocations: 31.91 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3914, allocations: 4 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.3915, allocations: 15.92 kB / 1.023 GB, free: 4.953 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.3915, allocations: 3.984 kB / 1.023 GB, free: 4.949 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: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.403e-05/0.3916, allocations: 113.8 kB / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.3917, allocations: 11.84 kB / 1.023 GB, free: 4.816 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004511/0.3921, allocations: 146.5 kB / 1.024 GB, free: 4.668 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3921, allocations: 4 kB / 1.024 GB, free: 4.664 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3921, allocations: 3.938 kB / 1.024 GB, free: 4.66 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.3921, allocations: 11.91 kB / 1.024 GB, free: 4.648 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.3924, allocations: 197.5 kB / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3924, allocations: 4 kB / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.3926, allocations: 27.91 kB / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.3926, allocations: 0 / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.3926, allocations: 11.98 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3926, allocations: 0 / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3926, allocations: 0 / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004342/0.393, allocations: 235.4 kB / 1.024 GB, free: 4.117 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/0.3931, allocations: 85.02 kB / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.3931, allocations: 4 kB / 1.024 GB, free: 4.012 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.3933, allocations: 15.98 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.444e-05/0.3934, allocations: 23.97 kB / 1.024 GB, free: 3.973 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.3934, allocations: 3.938 kB / 1.024 GB, free: 3.969 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.169e-05/0.3934, allocations: 95.27 kB / 1.024 GB, free: 3.875 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3935, allocations: 3.938 kB / 1.024 GB, free: 3.871 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002356/0.3937, allocations: 16 kB / 1.024 GB, free: 3.855 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: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001369/0.3938, allocations: 103.2 kB / 1.024 GB, free: 3.746 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004086/0.3942, allocations: 103.9 kB / 1.024 GB, free: 3.645 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/0.3943, allocations: 4 kB / 1.024 GB, free: 3.641 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.3945, allocations: 55.89 kB / 1.025 GB, free: 3.586 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.3948, allocations: 15.98 kB / 1.025 GB, free: 3.57 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/0.3953, allocations: 174.2 kB / 1.025 GB, free: 3.367 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.3955, allocations: 0.6885 MB / 1.025 GB, free: 2.652 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 6.43e-05/0.3956, allocations: 15.98 kB / 1.025 GB, free: 2.637 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.259e-05/0.3957, allocations: 23.42 kB / 1.025 GB, free: 2.613 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.3957, allocations: 0 / 1.025 GB, free: 2.613 MB / 0.795 GB Notification: Performance of Templates: time 0.003812/0.3995, allocations: 1.556 MB / 1.027 GB, free: 1.066 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches