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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 111.6 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.004/3.004, allocations: 489.3 MB / 0.7687 GB, free: 3.719 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 71.89 kB / 1.103 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.025, allocations: 163.8 MB / 1.263 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.003043/1.028, allocations: 0.777 MB / 1.263 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001743/1.03, allocations: 0.8598 MB / 1.264 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.025e-05/1.03, allocations: 1.5 kB / 1.264 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.854e-05/1.03, allocations: 4.594 kB / 1.264 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001175/1.03, allocations: 15.53 kB / 1.264 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000269/1.03, allocations: 42.34 kB / 1.264 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001913/1.031, allocations: 85.22 kB / 1.264 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/1.031, allocations: 25.7 kB / 1.264 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/1.031, allocations: 44.03 kB / 1.264 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/1.031, allocations: 44.72 kB / 1.264 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.869e-05/1.031, allocations: 8.031 kB / 1.264 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.901e-05/1.031, allocations: 8.031 kB / 1.264 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.582e-05/1.031, allocations: 27 kB / 1.264 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.02e-05/1.031, allocations: 36.22 kB / 1.265 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000222/1.032, allocations: 86.25 kB / 1.265 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/1.032, allocations: 0.5625 kB / 1.265 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.074e-06/1.032, allocations: 4.812 kB / 1.265 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.072e-06/1.032, allocations: 3.938 kB / 1.265 GB, free: 6.637 MB / 0.9981 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.0008302/1.033, allocations: 393 kB / 1.265 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/1.033, allocations: 10.06 kB / 1.265 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.085e-05/1.033, allocations: 16.12 kB / 1.265 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/1.033, allocations: 178.8 kB / 1.265 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/1.033, allocations: 3.906 kB / 1.265 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.902e-05/1.033, allocations: 8.484 kB / 1.265 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005485/1.034, allocations: 104.7 kB / 1.265 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/1.034, allocations: 0.75 kB / 1.265 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/1.034, allocations: 0.8125 kB / 1.265 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/1.034, allocations: 1.906 kB / 1.265 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007718/1.034, allocations: 101.2 kB / 1.265 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007726/1.035, allocations: 348.4 kB / 1.266 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/1.036, allocations: 123.5 kB / 1.266 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003617/1.037, allocations: 54.81 kB / 1.266 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/1.037, allocations: 5.531 kB / 1.266 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/1.037, allocations: 31.92 kB / 1.266 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 3.417e-06/1.037, allocations: 0.8125 kB / 1.266 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.001246/1.038, allocations: 183.1 kB / 1.266 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/1.038, allocations: 52.47 kB / 1.266 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/1.038, allocations: 128.1 kB / 1.266 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/1.038, allocations: 25.7 kB / 1.266 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/1.038, allocations: 97.72 kB / 1.266 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/1.038, allocations: 19.94 kB / 1.266 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.601e-05/1.039, allocations: 24.19 kB / 1.266 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.048e-05/1.039, allocations: 322.8 kB / 1.267 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/1.039, allocations: 44.16 kB / 1.267 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/1.039, allocations: 48.33 kB / 1.267 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006728/1.04, allocations: 105.1 kB / 1.267 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.04, allocations: 0 / 1.267 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008195/1.041, allocations: 138.8 kB / 1.267 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/1.041, allocations: 5.578 kB / 1.267 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.041, allocations: 4.875 kB / 1.267 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/1.041, allocations: 1.531 kB / 1.267 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/1.041, allocations: 23.09 kB / 1.267 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/1.041, allocations: 5.594 kB / 1.267 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/1.042, allocations: 19.56 kB / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/1.042, allocations: 7.594 kB / 1.267 GB, free: 4.676 MB / 0.9981 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.0001042/1.042, allocations: 117.4 kB / 1.267 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.938e-05/1.042, allocations: 7.656 kB / 1.267 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008878/1.043, allocations: 149.6 kB / 1.267 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/1.043, allocations: 0.8438 kB / 1.267 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/1.043, allocations: 3.938 kB / 1.267 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/1.043, allocations: 5.359 kB / 1.267 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/1.043, allocations: 198.6 kB / 1.268 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.043, allocations: 4.688 kB / 1.268 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000315/1.043, allocations: 27.91 kB / 1.268 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/1.043, allocations: 0.8438 kB / 1.268 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/1.043, allocations: 1.734 kB / 1.268 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/1.043, allocations: 1.516 kB / 1.268 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.043, allocations: 0.8125 kB / 1.268 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008017/1.044, allocations: 243.3 kB / 1.268 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/1.044, allocations: 84.27 kB / 1.268 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/1.044, allocations: 1.094 kB / 1.268 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/1.045, allocations: 11.84 kB / 1.268 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/1.045, allocations: 25.91 kB / 1.268 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/1.045, allocations: 2.453 kB / 1.268 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.508e-05/1.045, allocations: 101.2 kB / 1.268 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.51e-07/1.045, allocations: 7.938 kB / 1.268 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004548/1.045, allocations: 12.31 kB / 1.268 GB, free: 3.891 MB / 0.9981 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.0001554/1.046, allocations: 108.9 kB / 1.268 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00084/1.046, allocations: 100.6 kB / 1.268 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.046, allocations: 0 / 1.268 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003693/1.047, allocations: 65.97 kB / 1.268 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005533/1.047, allocations: 10.05 kB / 1.268 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007746/1.048, allocations: 200.5 kB / 1.269 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/1.048, allocations: 0.6902 MB / 1.269 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/1.049, allocations: 23.75 kB / 1.269 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of SimCode: time 1.202e-06/1.049, allocations: 1.031 kB / 1.269 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of Templates: time 0.005937/1.055, allocations: 1.243 MB / 1.27 GB, free: 2.781 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.390047461958602]