Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001358/0.001359, allocations: 103.8 kB / 16.36 MB, free: 5.547 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.001448/0.001448, allocations: 194.5 kB / 17.31 MB, free: 5.184 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.477/1.477, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.624/2.624, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 65.3 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3963, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002865/0.3992, allocations: 0.7936 MB / 1.028 GB, free: 1.27 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.4007, allocations: 0.874 MB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.334e-05/0.4008, allocations: 0 / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.726e-05/0.4009, allocations: 7.875 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.401, allocations: 7.922 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.4012, allocations: 43.89 kB / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.4014, allocations: 79.88 kB / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.4016, allocations: 31.94 kB / 1.029 GB, free: 220 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.4017, allocations: 39.83 kB / 1.029 GB, free: 180 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.4018, allocations: 43.83 kB / 1.029 GB, free: 136 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.043e-05/0.4018, allocations: 8 kB / 1.029 GB, free: 128 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.212e-05/0.4019, allocations: 8 kB / 1.029 GB, free: 120 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.058e-05/0.4019, allocations: 27.91 kB / 1.029 GB, free: 92 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.383e-05/0.402, allocations: 39.78 kB / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.4022, allocations: 79.73 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4022, allocations: 0 / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4022, allocations: 0 / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.4022, allocations: 4 kB / 1.029 GB, free: 15.97 MB / 0.8106 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.001123/0.4034, allocations: 391.2 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.4034, allocations: 8.031 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.893e-05/0.4035, allocations: 8.844 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.4037, allocations: 180.2 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.4037, allocations: 8.375 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.4037, allocations: 4.375 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.4041, allocations: 113.7 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.4041, allocations: 0 / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.4041, allocations: 4 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.4042, allocations: 0 / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.4045, allocations: 99.89 kB / 1.03 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006758/0.4052, allocations: 352.6 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006524/0.4059, allocations: 122.5 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.4061, allocations: 52.81 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.4061, allocations: 7.984 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.4062, allocations: 34.56 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.4062, allocations: 0 / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0007865/0.407, allocations: 177.5 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.4071, allocations: 59.41 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.4072, allocations: 121.8 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.4072, allocations: 29.7 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.353e-05/0.4073, allocations: 92.05 kB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/0.4074, allocations: 19.73 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-05/0.4074, allocations: 29.64 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.4076, allocations: 318.8 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.4078, allocations: 47.95 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.4079, allocations: 43.95 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.4082, allocations: 101.2 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4083, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003852/0.4086, allocations: 145.5 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.4087, allocations: 4 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.4087, allocations: 0 / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.4087, allocations: 0 / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.4089, allocations: 27.91 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.4089, allocations: 0 / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.4091, allocations: 27.86 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.4091, allocations: 4 kB / 1.031 GB, free: 13.16 MB / 0.8106 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.0001163/0.4092, allocations: 125.8 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.4092, allocations: 3.906 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004977/0.4097, allocations: 150 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.4098, allocations: 0 / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.4098, allocations: 0 / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.4098, allocations: 3.938 kB / 1.032 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.4101, allocations: 209.5 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4101, allocations: 0 / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.4102, allocations: 23.97 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4102, allocations: 0 / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.4103, allocations: 4 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4103, allocations: 4 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4103, allocations: 7.984 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004668/0.4108, allocations: 227.3 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.417e-05/0.4108, allocations: 85 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.4109, allocations: 4 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.411, allocations: 15.98 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.86e-05/0.4111, allocations: 27.91 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.4111, allocations: 7.938 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.139e-05/0.4112, allocations: 95.2 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.4112, allocations: 0 / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002357/0.4115, allocations: 16 kB / 1.032 GB, free: 12.07 MB / 0.8106 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.0002819/0.4117, allocations: 99.25 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004241/0.4122, allocations: 107.9 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.4122, allocations: 0 / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003009/0.4125, allocations: 63.89 kB / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.4129, allocations: 11.98 kB / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005428/0.4134, allocations: 170.2 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.4139, allocations: 0.6923 MB / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.969e-05/0.414, allocations: 15.98 kB / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.34e-05/0.414, allocations: 19.44 kB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of SimCode: time 1.072e-06/0.414, allocations: 3.938 kB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of Templates: time 0.004934/0.419, allocations: 1.579 MB / 1.035 GB, free: 9.266 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches