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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002287/0.002287, allocations: 215.9 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.555/1.555, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.819/2.819, allocations: 476.7 MB / 0.7714 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 67.25 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3447, allocations: 170 MB / 1.285 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002159/0.3468, allocations: 0.7908 MB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.3481, allocations: 0.8938 MB / 1.286 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.76e-05/0.3481, allocations: 4 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.806e-05/0.3482, allocations: 3.938 kB / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.203e-05/0.3483, allocations: 15.86 kB / 1.286 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.3485, allocations: 43.89 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.3486, allocations: 83.81 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.3487, allocations: 19.94 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.3488, allocations: 47.83 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.812e-05/0.3489, allocations: 47.83 kB / 1.287 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.349, allocations: 8 kB / 1.287 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.932e-05/0.349, allocations: 8 kB / 1.287 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.161e-05/0.349, allocations: 23.91 kB / 1.287 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.3491, allocations: 35.8 kB / 1.287 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.3492, allocations: 87.66 kB / 1.287 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3492, allocations: 0 / 1.287 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3492, allocations: 0 / 1.287 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.3492, allocations: 0 / 1.287 GB, free: 9.109 MB / 0.9825 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.0006901/0.3499, allocations: 322 kB / 1.287 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.35, allocations: 8.031 kB / 1.287 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.35, allocations: 8.891 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.3502, allocations: 126.3 kB / 1.287 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.3502, allocations: 4.375 kB / 1.287 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.3502, allocations: 4.375 kB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.3505, allocations: 120.5 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.026e-06/0.3505, allocations: 0 / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.3505, allocations: 4 kB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.3506, allocations: 4 kB / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000376/0.3509, allocations: 95.89 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005861/0.3515, allocations: 315.7 kB / 1.288 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006445/0.3522, allocations: 110.6 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.3524, allocations: 56.81 kB / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.3524, allocations: 3.938 kB / 1.288 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.3524, allocations: 34.56 kB / 1.288 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3524, allocations: 0 / 1.288 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006612/0.3531, allocations: 185.5 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.3531, allocations: 51.41 kB / 1.288 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.3532, allocations: 133.7 kB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.3533, allocations: 25.7 kB / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.3533, allocations: 100 kB / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.3534, allocations: 19.83 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.3534, allocations: 21.7 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3536, allocations: 318.8 kB / 1.289 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.3537, allocations: 47.95 kB / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.3539, allocations: 47.89 kB / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.3542, allocations: 96.77 kB / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3542, allocations: 0 / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003949/0.3546, allocations: 141.5 kB / 1.289 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3546, allocations: 7.938 kB / 1.289 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3547, allocations: 3.984 kB / 1.289 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3547, allocations: 4 kB / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.3548, allocations: 23.97 kB / 1.289 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.3549, allocations: 3.938 kB / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.355, allocations: 15.92 kB / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.355, allocations: 8 kB / 1.289 GB, free: 6.504 MB / 0.9825 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.0001015/0.3551, allocations: 113.8 kB / 1.289 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.3551, allocations: 7.953 kB / 1.289 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004813/0.3556, allocations: 145.9 kB / 1.289 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.3556, allocations: 8 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3556, allocations: 0 / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3556, allocations: 3.938 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.3559, allocations: 180.6 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3559, allocations: 0 / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.356, allocations: 31.91 kB / 1.29 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.356, allocations: 0 / 1.29 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.356, allocations: 0 / 1.29 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.356, allocations: 0 / 1.29 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.356, allocations: 0 / 1.29 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004788/0.3565, allocations: 237.8 kB / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.269e-05/0.3565, allocations: 7.953 kB / 1.29 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.3566, allocations: 3.984 kB / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.3567, allocations: 15.98 kB / 1.29 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.1e-05/0.3568, allocations: 23.91 kB / 1.29 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.3568, allocations: 8 kB / 1.29 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.405e-05/0.3569, allocations: 91.27 kB / 1.29 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3569, allocations: 0 / 1.29 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002299/0.3571, allocations: 15.95 kB / 1.29 GB, free: 5.551 MB / 0.9825 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.0001304/0.3572, allocations: 103.2 kB / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004325/0.3577, allocations: 108 kB / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3577, allocations: 0 / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.3579, allocations: 59.89 kB / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.3582, allocations: 15.86 kB / 1.29 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004704/0.3587, allocations: 195.9 kB / 1.29 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.359, allocations: 0.6962 MB / 1.291 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.942e-05/0.3591, allocations: 23.42 kB / 1.291 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/0.3591, allocations: 0 / 1.291 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of Templates: time 0.003107/0.3622, allocations: 1.229 MB / 1.292 GB, free: 3.07 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.207127999980003]