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.002826/0.002826, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.003449/0.003449, allocations: 157.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.583/1.583, allocations: 177.1 MB / 203.9 MB, free: 5.602 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.881/2.881, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.355e-06/2.355e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.078e-05/3.313e-05, allocations: 6.281 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002833/0.002866, allocations: 0.7712 MB / 0.7871 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001838/0.004704, allocations: 0.8943 MB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.383e-05/0.004768, allocations: 0 / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.196e-05/0.00481, allocations: 8.938 kB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.004931, allocations: 15.86 kB / 0.788 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.00517, allocations: 41.45 kB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.005368, allocations: 83.81 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.005496, allocations: 15.98 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.00566, allocations: 55.83 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.005782, allocations: 46.34 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/0.00582, allocations: 8 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.096e-05/0.005851, allocations: 8 kB / 0.7883 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.05e-05/0.005891, allocations: 19.91 kB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.903e-05/0.00595, allocations: 27.92 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.006168, allocations: 95.69 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.006171, allocations: 4 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.21e-07/0.006171, allocations: 1.75 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.006177, allocations: 0 / 0.7884 GB, free: 10.7 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.0008406/0.007017, allocations: 408 kB / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.007065, allocations: 8.625 kB / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.677e-05/0.007142, allocations: 16.83 kB / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.007343, allocations: 121.8 kB / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.007366, allocations: 4.375 kB / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.007388, allocations: 4.375 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/0.007807, allocations: 91.45 kB / 0.7891 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.00782, allocations: 3.938 kB / 0.7891 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.007837, allocations: 0 / 0.7891 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.007843, allocations: 0.9062 kB / 0.7891 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004/0.008243, allocations: 84.69 kB / 0.7891 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008034/0.009046, allocations: 334.2 kB / 0.7895 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007847/0.009831, allocations: 119 kB / 0.7896 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.01003, allocations: 43.67 kB / 0.7896 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.01006, allocations: 3.984 kB / 0.7896 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.0101, allocations: 33.39 kB / 0.7897 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.01011, allocations: 0.5312 kB / 0.7897 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0007348/0.01084, allocations: 154.3 kB / 0.7898 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.524e-05/0.01091, allocations: 59.81 kB / 0.7899 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.01114, allocations: 187.6 kB / 0.79 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.01116, allocations: 25.7 kB / 0.7901 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.01129, allocations: 142.8 kB / 0.7902 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.01133, allocations: 23.8 kB / 0.7902 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.099e-05/0.01142, allocations: 31.95 kB / 0.7903 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003493/0.01177, allocations: 0.4961 MB / 0.7907 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.01195, allocations: 28.77 kB / 0.7908 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.01214, allocations: 37.44 kB / 0.7908 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.01251, allocations: 89.16 kB / 0.7909 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01251, allocations: 0 / 0.7909 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004788/0.01299, allocations: 113.6 kB / 0.791 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.013, allocations: 9.688 kB / 0.791 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.01301, allocations: 0 / 0.791 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.01303, allocations: 4 kB / 0.791 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.01322, allocations: 15.98 kB / 0.791 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.01322, allocations: 0.875 kB / 0.791 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.01334, allocations: 11.98 kB / 0.791 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.01336, allocations: 8.812 kB / 0.791 GB, free: 7.844 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.0001729/0.01353, allocations: 164.5 kB / 0.7912 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.213e-05/0.01359, allocations: 9.234 kB / 0.7912 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005361/0.01413, allocations: 134.8 kB / 0.7913 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01413, allocations: 0 / 0.7913 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.01414, allocations: 5.219 kB / 0.7913 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.01414, allocations: 0 / 0.7913 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.01445, allocations: 148.5 kB / 0.7915 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01445, allocations: 1.312 kB / 0.7915 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.01463, allocations: 19.98 kB / 0.7915 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.01463, allocations: 0 / 0.7915 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.01464, allocations: 5.625 kB / 0.7915 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.01465, allocations: 0 / 0.7915 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01465, allocations: 0 / 0.7915 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005933/0.01524, allocations: 267.8 kB / 0.7918 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.883e-05/0.01527, allocations: 18.55 kB / 0.7918 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.0153, allocations: 7.922 kB / 0.7918 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.01547, allocations: 4 kB / 0.7918 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.01558, allocations: 23.97 kB / 0.7918 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.0156, allocations: 0 / 0.7918 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001338/0.01573, allocations: 147.2 kB / 0.792 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01573, allocations: 0 / 0.792 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004232/0.01615, allocations: 12.5 kB / 0.792 GB, free: 6.836 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.0001793/0.01633, allocations: 105.7 kB / 0.7921 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004693/0.0168, allocations: 87.62 kB / 0.7922 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01681, allocations: 0 / 0.7922 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002594/0.01706, allocations: 68.23 kB / 0.7922 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.01752, allocations: 17.42 kB / 0.7922 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006242/0.01815, allocations: 185.7 kB / 0.7924 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.01827, allocations: 71.33 kB / 0.7925 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.978e-05/0.01836, allocations: 10.91 kB / 0.7925 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.01846, allocations: 24.48 kB / 0.7925 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.01846, allocations: 0 / 0.7925 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of Templates: time 0.007246/0.02571, allocations: 1.725 MB / 0.7942 GB, free: 4.523 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 240] 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: 8.165222107083537]