Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006796/0.006796, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001537/0.001537, allocations: 197.9 kB / 16.68 MB, free: 5.969 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 / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.676/2.676, allocations: 469.8 MB / 0.7425 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 63.91 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.891/0.8926, allocations: 159.1 MB / 1.221 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002118/0.8947, allocations: 0.7734 MB / 1.221 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.8958, allocations: 0.8624 MB / 1.222 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.09e-05/0.8958, allocations: 4 kB / 1.222 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.326e-05/0.8959, allocations: 3.938 kB / 1.222 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.896, allocations: 19.84 kB / 1.222 GB, free: 484 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.8962, allocations: 35.97 kB / 1.222 GB, free: 448 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.8963, allocations: 91.73 kB / 1.222 GB, free: 356 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.8965, allocations: 19.98 kB / 1.222 GB, free: 336 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.068e-05/0.8966, allocations: 35.86 kB / 1.222 GB, free: 300 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.446e-05/0.8967, allocations: 51.81 kB / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.8967, allocations: 8 kB / 1.222 GB, free: 240 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.609e-05/0.8967, allocations: 8 kB / 1.222 GB, free: 232 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.649e-05/0.8967, allocations: 15.92 kB / 1.222 GB, free: 216 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.779e-05/0.8968, allocations: 43.77 kB / 1.223 GB, free: 172 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.8969, allocations: 92.17 kB / 1.223 GB, free: 84 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.8969, allocations: 0 / 1.223 GB, free: 84 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.664e-06/0.8969, allocations: 0 / 1.223 GB, free: 84 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.8969, allocations: 0 / 1.223 GB, free: 84 kB / 0.9356 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.0008422/0.8978, allocations: 396.2 kB / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.8978, allocations: 12.62 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.567e-05/0.8979, allocations: 8.891 kB / 1.223 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.898, allocations: 184.2 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.8981, allocations: 8.375 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.8981, allocations: 19.06 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.8984, allocations: 97.61 kB / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.8984, allocations: 0 / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.8984, allocations: 4 kB / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.8984, allocations: 0 / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003732/0.8988, allocations: 103.9 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005307/0.8993, allocations: 336.6 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006086/0.8999, allocations: 118.6 kB / 1.224 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.9001, allocations: 56.8 kB / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.9001, allocations: 0 / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.9002, allocations: 30.56 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.9002, allocations: 7.938 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0006544/0.9008, allocations: 185.4 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.9009, allocations: 55.41 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.901, allocations: 121.8 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.901, allocations: 29.7 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.901, allocations: 96.02 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.9011, allocations: 23.84 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/0.9011, allocations: 25.7 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.9013, allocations: 318.8 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.9014, allocations: 43.95 kB / 1.225 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.9016, allocations: 47.94 kB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.9019, allocations: 104.7 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9019, allocations: 0 / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003779/0.9023, allocations: 129.6 kB / 1.225 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.9023, allocations: 8 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.9023, allocations: 3.938 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.9023, allocations: 0 / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.9025, allocations: 27.97 kB / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.9025, allocations: 0.5469 kB / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.9027, allocations: 19.88 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.9027, allocations: 4 kB / 1.225 GB, free: 13.29 MB / 0.9512 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.44e-05/0.9028, allocations: 117.8 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.9028, allocations: 7.953 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005365/0.9033, allocations: 161.9 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.9033, allocations: 0 / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.9033, allocations: 0 / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.9033, allocations: 0 / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.9035, allocations: 197.6 kB / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.9035, allocations: 4 kB / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.9037, allocations: 31.91 kB / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.9037, allocations: 4 kB / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.9037, allocations: 7.875 kB / 1.226 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.9037, allocations: 3.984 kB / 1.226 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.9037, allocations: 0 / 1.226 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004717/0.9042, allocations: 239.3 kB / 1.226 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.9042, allocations: 85.06 kB / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.9043, allocations: 7.938 kB / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.9044, allocations: 11.98 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.087e-05/0.9045, allocations: 23.97 kB / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.9045, allocations: 0 / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.261e-05/0.9045, allocations: 95.27 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.9045, allocations: 0 / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002293/0.9048, allocations: 16 kB / 1.226 GB, free: 12.18 MB / 0.9512 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.0001427/0.9049, allocations: 103.2 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004017/0.9053, allocations: 107.8 kB / 1.226 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.9053, allocations: 0 / 1.226 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002563/0.9056, allocations: 55.95 kB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.9059, allocations: 20.09 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004583/0.9064, allocations: 181.9 kB / 1.227 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.9067, allocations: 0.6924 MB / 1.227 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001659/0.9069, allocations: 11.98 kB / 1.227 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.431e-05/0.907, allocations: 19.44 kB / 1.227 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of SimCode: time 6.31e-07/0.907, allocations: 0 / 1.227 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of Templates: time 0.004001/0.911, allocations: 1.588 MB / 1.229 GB, free: 9.363 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches