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.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.0008545/0.0008545, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008268/0.0008268, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8641/0.8641, allocations: 177.2 MB / 203.5 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.713/1.713, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.303e-06/1.303e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.71e-05, allocations: 6.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001133/0.00115, allocations: 0.7563 MB / 1.002 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007057/0.001856, allocations: 0.8906 MB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.987e-05/0.001886, allocations: 0 / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.232e-05/0.001908, allocations: 11.86 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.993e-05/0.001958, allocations: 11.88 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001142/0.002072, allocations: 51.81 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.924e-05/0.002142, allocations: 79.77 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 7.195e-05/0.002214, allocations: 23.97 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.305e-05/0.002277, allocations: 47.91 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.055e-05/0.002327, allocations: 35.94 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.002349, allocations: 8 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.358e-06/0.002358, allocations: 12 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.002379, allocations: 23.91 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.189e-05/0.002401, allocations: 23.92 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.244e-05/0.002493, allocations: 95.69 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.002495, allocations: 0 / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of FrontEnd: time 4.71e-07/0.002496, allocations: 0 / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.575e-06/0.002498, allocations: 0 / 1.003 GB, free: 10.9 MB / 0.9636 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.0003245/0.002823, allocations: 318 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.624e-05/0.002849, allocations: 12.75 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.276e-05/0.002872, allocations: 12.89 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.817e-05/0.00294, allocations: 117.6 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.002951, allocations: 8.375 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.002961, allocations: 4.375 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.003124, allocations: 110.2 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.003131, allocations: 3.938 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.003141, allocations: 7.938 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.003144, allocations: 0 / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.003331, allocations: 99.84 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.003613, allocations: 272.3 kB / 1.004 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.003937, allocations: 118.5 kB / 1.004 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.935e-05/0.004036, allocations: 48.81 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.00405, allocations: 8 kB / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/0.004063, allocations: 30.56 kB / 1.004 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 7.81e-07/0.004064, allocations: 0 / 1.004 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0003341/0.004398, allocations: 177.5 kB / 1.004 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.004425, allocations: 55.41 kB / 1.004 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.589e-05/0.00449, allocations: 133.7 kB / 1.004 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.004502, allocations: 25.7 kB / 1.004 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/0.004537, allocations: 88.14 kB / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.00456, allocations: 31.77 kB / 1.005 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.004591, allocations: 17.72 kB / 1.005 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.231e-05/0.004683, allocations: 326.8 kB / 1.005 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.004787, allocations: 43.95 kB / 1.005 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.562e-05/0.004883, allocations: 43.95 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.005061, allocations: 109.2 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.005062, allocations: 0 / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002074/0.005269, allocations: 133.5 kB / 1.005 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.00528, allocations: 8 kB / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.005282, allocations: 4 kB / 1.005 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.763e-06/0.005289, allocations: 3.938 kB / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.446e-05/0.005364, allocations: 23.97 kB / 1.005 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.005367, allocations: 3.984 kB / 1.005 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.378e-05/0.005421, allocations: 11.98 kB / 1.005 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.005427, allocations: 7.938 kB / 1.005 GB, free: 8.359 MB / 0.9636 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 5.807e-05/0.005485, allocations: 117.8 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.005501, allocations: 11.94 kB / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/0.005754, allocations: 162 kB / 1.006 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.005756, allocations: 0 / 1.006 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.005759, allocations: 3.938 kB / 1.006 GB, free: 8.055 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.005761, allocations: 0 / 1.006 GB, free: 8.055 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.005868, allocations: 129.2 kB / 1.006 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.005869, allocations: 0 / 1.006 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.69e-05/0.005936, allocations: 31.97 kB / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.005938, allocations: 4 kB / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.005945, allocations: 0 / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.005946, allocations: 0 / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.005946, allocations: 0 / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.00619, allocations: 231.3 kB / 1.006 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.077e-05/0.0062, allocations: 11.94 kB / 1.006 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.006211, allocations: 4 kB / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.534e-05/0.006277, allocations: 15.98 kB / 1.006 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.006325, allocations: 27.89 kB / 1.006 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.00633, allocations: 4 kB / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.589e-05/0.006365, allocations: 99.64 kB / 1.006 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006366, allocations: 0 / 1.006 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001415/0.006507, allocations: 15.94 kB / 1.006 GB, free: 7.445 MB / 0.9636 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 6.752e-05/0.006575, allocations: 95.25 kB / 1.006 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.006791, allocations: 103.9 kB / 1.006 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.006792, allocations: 0 / 1.006 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.818e-05/0.00689, allocations: 59.89 kB / 1.006 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.007064, allocations: 15.92 kB / 1.006 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005335/0.007598, allocations: 199.1 kB / 1.007 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.934e-05/0.007647, allocations: 73.56 kB / 1.007 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.547e-05/0.007692, allocations: 28.42 kB / 1.007 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of SimCode: time 4.21e-07/0.007693, allocations: 0 / 1.007 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of Templates: time 0.001529/0.009222, allocations: 1.269 MB / 1.008 GB, free: 5.555 MB / 0.9636 GB " [Timeout remaining time 300] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.250312600284815]