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.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.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.001984/0.001983, allocations: 104 kB / 15.6 MB, free: 148 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.002358/0.002358, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.527/1.527, allocations: 222.9 MB / 240.2 MB, free: 4.227 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.803/2.803, allocations: 437 MB / 0.7103 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 67.91 kB / 0.8692 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6903/0.6917, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002977/0.6948, allocations: 0.7804 MB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001574/0.6964, allocations: 0.8741 MB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.6965, allocations: 0 / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.303e-05/0.6966, allocations: 7.875 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.6968, allocations: 7.875 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.6971, allocations: 43.88 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.6972, allocations: 83.83 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.6974, allocations: 35.95 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.6976, allocations: 31.86 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.6977, allocations: 47.81 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.6977, allocations: 8 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.212e-05/0.6978, allocations: 8 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.857e-05/0.6978, allocations: 27.91 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.045e-05/0.6979, allocations: 31.86 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.6981, allocations: 83.66 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.6981, allocations: 8 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6981, allocations: 0 / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.6981, allocations: 0 / 1.019 GB, free: 412 kB / 0.7637 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.0009183/0.699, allocations: 397.1 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.6991, allocations: 8.031 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.6992, allocations: 8.844 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.6994, allocations: 180.2 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.6994, allocations: 12.38 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.6995, allocations: 4.375 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.6999, allocations: 105.7 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.6999, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.6999, allocations: 7.984 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.6999, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00042/0.7004, allocations: 95.91 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007375/0.7011, allocations: 348.5 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007112/0.7018, allocations: 118.6 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/0.7021, allocations: 56.75 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.7021, allocations: 7.984 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.7021, allocations: 30.56 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.7022, allocations: 3.938 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006832/0.7028, allocations: 185.5 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.7029, allocations: 51.41 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.703, allocations: 117.8 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.703, allocations: 29.7 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.7031, allocations: 96.06 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.7031, allocations: 23.66 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.204e-05/0.7032, allocations: 25.7 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.7033, allocations: 322.8 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.7035, allocations: 47.89 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.7037, allocations: 47.95 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.7041, allocations: 100.8 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7041, allocations: 0 / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004328/0.7045, allocations: 133.5 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.7045, allocations: 4 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.7046, allocations: 4 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.7046, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.7048, allocations: 31.91 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.7048, allocations: 0 / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.7049, allocations: 15.92 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.7049, allocations: 7.984 kB / 1.022 GB, free: 13.61 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: 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 0.0001024/0.705, allocations: 113.8 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.7051, allocations: 11.91 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004965/0.7056, allocations: 142 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.7056, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.7056, allocations: 3.984 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.7056, allocations: 7.922 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.7059, allocations: 197.6 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.7059, allocations: 8 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.706, allocations: 31.91 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.7061, allocations: 0 / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.7061, allocations: 7.984 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.7061, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7061, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005015/0.7066, allocations: 235.9 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.53e-05/0.7067, allocations: 81.02 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.7067, allocations: 8 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.7069, allocations: 7.984 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.707, allocations: 23.97 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.707, allocations: 7.938 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.559e-05/0.7071, allocations: 95.2 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.517e-06/0.7071, allocations: 4 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002534/0.7073, allocations: 27.81 kB / 1.023 GB, free: 12.51 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: 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.0001702/0.7075, allocations: 99.25 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004602/0.708, allocations: 111.9 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.708, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.7082, allocations: 67.88 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.7086, allocations: 8.766 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005593/0.7092, allocations: 170.4 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.7095, allocations: 0.6924 MB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.302e-05/0.7096, allocations: 8 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.731e-05/0.7097, allocations: 23.42 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of SimCode: time 7.62e-07/0.7097, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of Templates: time 0.00476/0.7145, allocations: 1.571 MB / 1.025 GB, free: 9.707 MB / 0.7794 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 -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/jenkins/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