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.001674/0.001674, allocations: 110.2 kB / 16.37 MB, free: 6.004 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.001944/0.001944, allocations: 197.1 kB / 17.31 MB, free: 5.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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.554/2.554, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.86 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3805, 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.002697/0.3832, allocations: 0.7862 MB / 1.028 GB, free: 1.277 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.3846, allocations: 0.8584 MB / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.968e-05/0.3847, allocations: 4 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.023e-05/0.3847, allocations: 11.88 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.011e-05/0.3848, allocations: 11.91 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.385, allocations: 43.89 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.3852, allocations: 79.83 kB / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.3853, allocations: 27.97 kB / 1.029 GB, free: 236 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.947e-05/0.3854, allocations: 39.86 kB / 1.029 GB, free: 196 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.745e-05/0.3855, allocations: 51.81 kB / 1.029 GB, free: 144 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.3855, allocations: 8 kB / 1.029 GB, free: 136 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.698e-05/0.3856, allocations: 8 kB / 1.029 GB, free: 128 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.086e-05/0.3856, allocations: 19.91 kB / 1.029 GB, free: 108 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.049e-05/0.3857, allocations: 35.8 kB / 1.029 GB, free: 72 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.3858, allocations: 91.7 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3858, allocations: 0 / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.088e-06/0.3859, allocations: 3.938 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.3859, allocations: 3.938 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.0006628/0.3865, allocations: 391.2 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.3866, allocations: 16.02 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.3866, allocations: 8.844 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.3868, allocations: 180.1 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.3869, allocations: 4.375 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.3869, allocations: 4.375 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.3872, allocations: 109.7 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3872, allocations: 0 / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.3873, allocations: 0 / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.299e-06/0.3873, allocations: 4 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003644/0.3876, allocations: 103.9 kB / 1.03 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005707/0.3882, allocations: 340.6 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006034/0.3888, allocations: 126.6 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.389, allocations: 60.75 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.3891, allocations: 4 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.3891, allocations: 34.56 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.3891, allocations: 0 / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006451/0.3898, allocations: 177.5 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.3898, allocations: 55.39 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.514e-05/0.3899, allocations: 121.8 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.3899, allocations: 25.7 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.075e-05/0.39, allocations: 100 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.39, allocations: 15.75 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.3901, allocations: 21.7 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3902, allocations: 322.8 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.3904, allocations: 59.81 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.3906, allocations: 47.94 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/0.3909, allocations: 92.78 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3909, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000406/0.3913, allocations: 141.5 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3914, allocations: 8 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3914, allocations: 0 / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.3914, allocations: 0 / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.3916, allocations: 27.91 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3916, allocations: 0 / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.3918, allocations: 15.92 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.3918, allocations: 11.98 kB / 1.031 GB, free: 13.17 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 9.383e-05/0.3919, allocations: 117.8 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.3919, allocations: 7.906 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004571/0.3924, allocations: 145.9 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.3924, allocations: 7.938 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3924, allocations: 4 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.3924, allocations: 3.938 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.3926, allocations: 201.5 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3926, allocations: 4 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.3928, allocations: 27.91 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.3928, allocations: 0 / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.3928, allocations: 3.984 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3928, allocations: 0 / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3928, allocations: 0 / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004348/0.3933, allocations: 239.9 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.3933, allocations: 85.02 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.3934, allocations: 0 / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.3935, allocations: 11.98 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.116e-05/0.3936, allocations: 27.97 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.3936, allocations: 7.938 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.153e-05/0.3937, allocations: 99.27 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.577e-06/0.3937, allocations: 0 / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000242/0.3939, allocations: 19.88 kB / 1.032 GB, free: 12.08 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.000133/0.3941, 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.3945, allocations: 111.9 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3945, allocations: 0 / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.3947, allocations: 64.12 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.000342/0.3951, allocations: 14.8 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.000501/0.3956, 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.0002656/0.3959, allocations: 0.6962 MB / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.562e-05/0.396, allocations: 15.98 kB / 1.033 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.016e-05/0.396, allocations: 11.44 kB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.396, allocations: 0 / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of Templates: time 0.004359/0.4004, allocations: 1.577 MB / 1.035 GB, free: 9.273 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 gbode -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