Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001402/0.001402, allocations: 79.44 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001513/0.001513, allocations: 163 kB / 22.46 MB, free: 5.375 MB / 14.72 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.483/1.483, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.903/2.903, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.589e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001819/0.001845, allocations: 0.7447 MB / 0.9822 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.003059, allocations: 0.9015 MB / 0.9831 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.941e-05/0.003108, allocations: 0 / 0.9831 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.506e-05/0.003143, allocations: 7.922 kB / 0.9831 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.754e-05/0.003241, allocations: 11.88 kB / 0.9831 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.003439, allocations: 47.81 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.003561, allocations: 83.81 kB / 0.9832 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.00367, allocations: 15.98 kB / 0.9832 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.003784, allocations: 51.89 kB / 0.9833 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.28e-05/0.003866, allocations: 39.89 kB / 0.9833 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/0.003896, allocations: 12 kB / 0.9833 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.75e-05/0.003914, allocations: 8 kB / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.22e-05/0.003946, allocations: 19.91 kB / 0.9833 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.104e-05/0.003987, allocations: 27.86 kB / 0.9834 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.004127, allocations: 95.69 kB / 0.9835 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.004129, allocations: 0 / 0.9835 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.81e-07/0.00413, allocations: 4 kB / 0.9835 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.004134, allocations: 0 / 0.9835 GB, free: 9.879 MB / 0.9356 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.0006292/0.004763, allocations: 328.3 kB / 0.9838 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.004801, allocations: 12.03 kB / 0.9838 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.004841, allocations: 8.891 kB / 0.9838 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.004972, allocations: 109.8 kB / 0.9839 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.004993, allocations: 8.375 kB / 0.9839 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.005012, allocations: 4.375 kB / 0.9839 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003355/0.005347, allocations: 106.2 kB / 0.984 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.00536, allocations: 7.922 kB / 0.984 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.005377, allocations: 4 kB / 0.984 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.005382, allocations: 0 / 0.984 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003947/0.005777, allocations: 99.84 kB / 0.9841 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.006288, allocations: 272.3 kB / 0.9844 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006772/0.006965, allocations: 118.5 kB / 0.9845 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.007175, allocations: 60.81 kB / 0.9845 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.007194, allocations: 0 / 0.9845 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.007234, allocations: 34.56 kB / 0.9846 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.007235, allocations: 0 / 0.9846 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.000721/0.007956, allocations: 185.5 kB / 0.9848 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.008, allocations: 55.41 kB / 0.9848 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.008116, allocations: 129.7 kB / 0.9849 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.00814, allocations: 29.7 kB / 0.985 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.333e-05/0.008203, allocations: 88.09 kB / 0.985 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.008233, allocations: 23.8 kB / 0.9851 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.008284, allocations: 25.7 kB / 0.9851 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.008419, allocations: 322.8 kB / 0.9854 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.008625, allocations: 43.95 kB / 0.9854 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.008813, allocations: 47.95 kB / 0.9855 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/0.009187, allocations: 100.8 kB / 0.9856 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.009188, allocations: 0 / 0.9856 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004455/0.009634, allocations: 137.6 kB / 0.9857 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.009647, allocations: 4 kB / 0.9857 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.00965, allocations: 0 / 0.9857 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.009666, allocations: 7.922 kB / 0.9857 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.009844, allocations: 23.97 kB / 0.9857 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.009848, allocations: 0 / 0.9857 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.00997, allocations: 15.97 kB / 0.9858 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.009983, allocations: 4 kB / 0.9858 GB, free: 7.34 MB / 0.9356 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 9.716e-05/0.01008, allocations: 121.7 kB / 0.9859 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.01011, allocations: 7.953 kB / 0.9859 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005181/0.01063, allocations: 158.5 kB / 0.986 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.01063, allocations: 0 / 0.986 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.01064, allocations: 3.938 kB / 0.986 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.01064, allocations: 0 / 0.986 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.01083, allocations: 133.2 kB / 0.9862 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.01083, allocations: 8 kB / 0.9862 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.011, allocations: 23.97 kB / 0.9862 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.011, allocations: 0 / 0.9862 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.01101, allocations: 0 / 0.9862 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.01101, allocations: 0 / 0.9862 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01101, allocations: 0 / 0.9862 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005061/0.01152, allocations: 243.4 kB / 0.9864 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.465e-05/0.01153, allocations: 15.83 kB / 0.9865 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.01155, allocations: 3.984 kB / 0.9865 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.01171, allocations: 15.98 kB / 0.9865 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.835e-05/0.01179, allocations: 27.91 kB / 0.9865 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.0118, allocations: 4 kB / 0.9865 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.163e-05/0.01187, allocations: 95.7 kB / 0.9866 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.01187, allocations: 0 / 0.9866 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002415/0.01211, allocations: 16 kB / 0.9866 GB, free: 6.418 MB / 0.9356 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.0001225/0.01223, allocations: 99.78 kB / 0.9867 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004471/0.01268, allocations: 99.89 kB / 0.9868 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01268, allocations: 0 / 0.9868 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.0129, allocations: 59.89 kB / 0.9869 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.01321, allocations: 18.75 kB / 0.9869 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.01363, allocations: 173.5 kB / 0.987 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.114e-05/0.0137, allocations: 71.58 kB / 0.9871 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.229e-05/0.01376, allocations: 15.98 kB / 0.9871 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.11e-05/0.01383, allocations: 24.48 kB / 0.9871 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of SimCode: time 5.11e-07/0.01383, allocations: 0 / 0.9871 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of Templates: time 0.004642/0.01848, allocations: 1.697 MB / 0.9888 GB, free: 4.133 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.40273492410779]