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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.002285/0.002285, allocations: 200.5 kB / 22.17 MB, free: 5.207 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.516/1.516, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.922/2.922, allocations: 476.7 MB / 0.7645 GB, free: 10.05 MB / 0.6231 GB " [Timeout remaining time 176] 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=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: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 67.91 kB / 1.109 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8679/0.8699, allocations: 168.7 MB / 1.274 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002227/0.8721, allocations: 0.7852 MB / 1.275 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.8733, allocations: 0.8741 MB / 1.276 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.8734, allocations: 0 / 1.276 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.827e-05/0.8734, allocations: 7.875 kB / 1.276 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.828e-05/0.8735, allocations: 11.86 kB / 1.276 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.8737, allocations: 43.94 kB / 1.276 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.8739, allocations: 83.83 kB / 1.276 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.874, allocations: 19.98 kB / 1.276 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.8741, allocations: 39.84 kB / 1.276 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.8742, allocations: 43.83 kB / 1.276 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.8742, allocations: 12 kB / 1.276 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.803e-05/0.8743, allocations: 8 kB / 1.276 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.077e-05/0.8743, allocations: 27.89 kB / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.505e-05/0.8744, allocations: 35.8 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.8745, allocations: 94.27 kB / 1.276 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.8746, allocations: 0 / 1.276 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8746, allocations: 0 / 1.276 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.8746, allocations: 0 / 1.276 GB, free: 2.422 MB / 0.9669 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.0008028/0.8754, allocations: 395.1 kB / 1.276 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.8754, allocations: 12.03 kB / 1.276 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.8754, allocations: 8.891 kB / 1.276 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.8756, allocations: 176.3 kB / 1.277 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.8757, allocations: 4.375 kB / 1.277 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.8757, allocations: 8.375 kB / 1.277 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003355/0.876, allocations: 109.5 kB / 1.277 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.876, allocations: 0 / 1.277 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.876, allocations: 0 / 1.277 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.8761, allocations: 4 kB / 1.277 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004033/0.8765, allocations: 107.8 kB / 1.277 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005957/0.8771, allocations: 340.6 kB / 1.277 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006709/0.8777, allocations: 122.5 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.8779, allocations: 52.8 kB / 1.277 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.8779, allocations: 4 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.878, allocations: 30.56 kB / 1.277 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.878, allocations: 4 kB / 1.277 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0007442/0.8787, allocations: 185.4 kB / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.8788, allocations: 55.39 kB / 1.278 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.8789, allocations: 125.8 kB / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.8789, allocations: 25.7 kB / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.726e-05/0.879, allocations: 104 kB / 1.278 GB, free: 396 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.879, allocations: 19.86 kB / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-05/0.8791, allocations: 21.7 kB / 1.278 GB, free: 348 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.8793, allocations: 322.8 kB / 1.278 GB, free: 16 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.8795, allocations: 44.03 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.8797, allocations: 47.95 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.88, allocations: 92.78 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.88, allocations: 0 / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005114/0.8805, allocations: 145.4 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.8806, allocations: 8 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.8806, allocations: 0 / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.8806, allocations: 4 kB / 1.279 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.8808, allocations: 27.97 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.8808, allocations: 0 / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.8809, allocations: 15.92 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.8809, allocations: 3.984 kB / 1.279 GB, free: 15.62 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.0001113/0.881, allocations: 118.4 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.8811, allocations: 7.953 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005173/0.8816, allocations: 149.8 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.8816, allocations: 0 / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.8816, allocations: 7.938 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.8816, allocations: 7.922 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.8818, allocations: 201.6 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8818, allocations: 0 / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.882, allocations: 23.97 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.882, allocations: 0 / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.882, allocations: 7.984 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.882, allocations: 0 / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.882, allocations: 0 / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/0.8826, allocations: 239.9 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.685e-05/0.8826, allocations: 89.06 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.8827, allocations: 3.938 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.8828, allocations: 11.98 kB / 1.279 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.329e-05/0.8829, allocations: 23.91 kB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.8829, allocations: 4 kB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.17e-05/0.883, allocations: 95.27 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.883, allocations: 0 / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002478/0.8832, allocations: 16 kB / 1.28 GB, free: 14.53 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.0001644/0.8834, allocations: 99.25 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004842/0.8839, allocations: 108 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8839, allocations: 4 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.8841, allocations: 52.19 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.8845, allocations: 17.7 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005575/0.885, allocations: 190 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.8854, allocations: 0.7001 MB / 1.281 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.43e-05/0.8855, allocations: 11.98 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/0.8855, allocations: 27.42 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.8855, allocations: 0 / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of Templates: time 0.004842/0.8904, allocations: 1.602 MB / 1.282 GB, free: 11.68 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 -s cvode -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_2/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: 9.16335129365325]