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.001998/0.001998, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.002704/0.002704, allocations: 165.3 kB / 23.55 MB, free: 0.8633 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 1.533/1.533, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.723/2.723, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0.7656 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.336e-05/3.599e-05, allocations: 5.547 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002468/0.002504, allocations: 0.761 MB / 0.7871 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.003948, allocations: 0.8984 MB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.976e-05/0.004008, allocations: 4.5 kB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.815e-05/0.004046, allocations: 4.562 kB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.004147, allocations: 3.938 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.004391, allocations: 49.22 kB / 0.7881 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.004544, allocations: 87.77 kB / 0.7882 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.004662, allocations: 15.98 kB / 0.7882 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.004796, allocations: 52.73 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.881e-05/0.004895, allocations: 39.88 kB / 0.7883 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.004926, allocations: 8.562 kB / 0.7883 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.347e-05/0.00495, allocations: 9.25 kB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.261e-05/0.004992, allocations: 19.92 kB / 0.7883 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.109e-05/0.005043, allocations: 27.95 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.005234, allocations: 95.66 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.005238, allocations: 1.625 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.02e-07/0.005238, allocations: 0 / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.005243, allocations: 3.938 kB / 0.7884 GB, free: 10.75 MB / 0.7448 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.0007831/0.006027, allocations: 311.3 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.006079, allocations: 12.03 kB / 0.7887 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.849e-05/0.006157, allocations: 12.89 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.006349, allocations: 130.3 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.006375, allocations: 5.281 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.006396, allocations: 4.375 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/0.006775, allocations: 103.4 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.006791, allocations: 9.469 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.006808, allocations: 0 / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.006816, allocations: 4 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004357/0.007252, allocations: 100 kB / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006518/0.007904, allocations: 264.3 kB / 0.7893 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000706/0.00861, allocations: 118.5 kB / 0.7894 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.008825, allocations: 52.81 kB / 0.7895 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.317e-05/0.008868, allocations: 4.719 kB / 0.7895 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.008904, allocations: 34.55 kB / 0.7895 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.008905, allocations: 1.656 kB / 0.7895 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0007794/0.009685, allocations: 186.8 kB / 0.7897 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.009736, allocations: 51.41 kB / 0.7898 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.009889, allocations: 130.4 kB / 0.7899 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.009918, allocations: 31.05 kB / 0.7899 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.376e-05/0.009991, allocations: 88.09 kB / 0.79 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.01003, allocations: 27.78 kB / 0.79 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.13e-05/0.01009, allocations: 25.7 kB / 0.79 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001978/0.01029, allocations: 324.1 kB / 0.7904 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.0105, allocations: 43.95 kB / 0.7904 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.01069, allocations: 45.45 kB / 0.7904 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004205/0.01111, allocations: 106.8 kB / 0.7905 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.01111, allocations: 0 / 0.7905 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004846/0.0116, allocations: 142.8 kB / 0.7907 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.01162, allocations: 10.92 kB / 0.7907 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01162, allocations: 0 / 0.7907 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.01165, allocations: 4 kB / 0.7907 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.01185, allocations: 25.12 kB / 0.7907 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.01186, allocations: 0 / 0.7907 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.01198, allocations: 12.77 kB / 0.7907 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.01199, allocations: 0 / 0.7907 GB, free: 8.227 MB / 0.7448 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.0001293/0.01212, allocations: 118.4 kB / 0.7908 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.01217, allocations: 16.75 kB / 0.7909 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005601/0.01273, allocations: 152.1 kB / 0.791 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.01273, allocations: 0 / 0.791 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.01274, allocations: 0.9688 kB / 0.791 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.01274, allocations: 0 / 0.791 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.01297, allocations: 137.2 kB / 0.7911 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01297, allocations: 2.312 kB / 0.7911 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.01314, allocations: 27.97 kB / 0.7912 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01314, allocations: 0 / 0.7912 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.01316, allocations: 7.984 kB / 0.7912 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.01316, allocations: 0 / 0.7912 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01316, allocations: 3.406 kB / 0.7912 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005779/0.01374, allocations: 243.3 kB / 0.7914 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.68e-05/0.01376, allocations: 4.078 kB / 0.7914 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.01378, allocations: 4 kB / 0.7914 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.01393, allocations: 7.984 kB / 0.7914 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.01404, allocations: 24.91 kB / 0.7914 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.01405, allocations: 0 / 0.7914 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.828e-05/0.01414, allocations: 99.27 kB / 0.7915 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01414, allocations: 4.438 kB / 0.7915 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002572/0.01439, allocations: 16.5 kB / 0.7916 GB, free: 7.328 MB / 0.7448 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.0001723/0.01457, allocations: 99.8 kB / 0.7917 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000472/0.01504, allocations: 109.8 kB / 0.7918 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.01504, allocations: 0.9688 kB / 0.7918 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.01527, allocations: 60.5 kB / 0.7918 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.01565, allocations: 16.58 kB / 0.7918 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005141/0.01616, allocations: 178.9 kB / 0.792 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.241e-05/0.01626, allocations: 75.33 kB / 0.7921 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.657e-05/0.01632, allocations: 7.344 kB / 0.7921 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.939e-05/0.0164, allocations: 25.39 kB / 0.7921 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of SimCode: time 8.72e-07/0.0164, allocations: 0 / 0.7921 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of Templates: time 0.005698/0.0221, allocations: 1.721 MB / 0.7938 GB, free: 5.027 MB / 0.7448 GB " [Timeout remaining time 300] 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/jenkins/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: 7.901683615054935]