Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.001889/0.001889, 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.001988/0.001988, allocations: 157.3 kB / 23.55 MB, free: 0.8672 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.554/1.554, allocations: 177.1 MB / 203.9 MB, free: 5.598 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.957/2.957, allocations: 359 MB / 0.6048 GB, free: 10.93 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.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 0.7865 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.153e-05, allocations: 2.312 kB / 0.7865 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.00311/0.003142, allocations: 0.7061 MB / 0.7871 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001806/0.004948, allocations: 0.8321 MB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.37e-05/0.005012, allocations: 0.625 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.459e-05/0.005046, allocations: 3.938 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.005151, allocations: 13.28 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000121/0.005272, allocations: 19.92 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.005399, allocations: 39.86 kB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.005516, allocations: 12.83 kB / 0.788 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.005639, allocations: 19.98 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.389e-05/0.005703, allocations: 16.48 kB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.00573, allocations: 4.688 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.749e-05/0.005747, allocations: 4 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.809e-05/0.005775, allocations: 12.88 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.902e-05/0.005814, allocations: 11.94 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.005975, allocations: 43.86 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.005978, allocations: 0.6562 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.162e-06/0.005979, allocations: 1.594 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.005984, allocations: 4 kB / 0.7882 GB, free: 10.98 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007368/0.006721, allocations: 372.2 kB / 0.7885 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.006772, allocations: 12.03 kB / 0.7885 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.06e-05/0.006842, allocations: 9.422 kB / 0.7885 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.007002, allocations: 108.1 kB / 0.7886 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.007019, allocations: 4.375 kB / 0.7886 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.007037, allocations: 4.375 kB / 0.7886 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.007313, allocations: 62.11 kB / 0.7887 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.007325, allocations: 192 / 0.7887 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.007337, allocations: 384 / 0.7887 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.007341, allocations: 4.375 kB / 0.7887 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002736/0.007615, allocations: 43.91 kB / 0.7887 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005804/0.008195, allocations: 280.4 kB / 0.789 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.008433, allocations: 52.64 kB / 0.7891 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.008593, allocations: 27.77 kB / 0.7891 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.008622, allocations: 4 kB / 0.7891 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.264e-05/0.008685, allocations: 33.92 kB / 0.7891 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.008686, allocations: 1.375 kB / 0.7891 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0006294/0.009316, allocations: 105.6 kB / 0.7892 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.009379, allocations: 56.59 kB / 0.7893 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.009584, allocations: 173.9 kB / 0.7895 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.009611, allocations: 25.7 kB / 0.7895 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.009747, allocations: 135.5 kB / 0.7896 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.009774, allocations: 7.953 kB / 0.7896 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-05/0.009845, allocations: 28.08 kB / 0.7896 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000373/0.01022, allocations: 492.1 kB / 0.7901 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.01037, allocations: 21.14 kB / 0.7901 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.0105, allocations: 19.98 kB / 0.7901 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.01079, allocations: 53.78 kB / 0.7902 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01079, allocations: 0 / 0.7902 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003532/0.01114, allocations: 73.66 kB / 0.7903 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.01117, allocations: 16.41 kB / 0.7903 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01117, allocations: 0.5625 kB / 0.7903 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.01119, allocations: 1.094 kB / 0.7903 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.01132, allocations: 8 kB / 0.7903 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.01134, allocations: 3.984 kB / 0.7903 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.455e-05/0.01142, allocations: 8.797 kB / 0.7903 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.01143, allocations: 0 / 0.7903 GB, free: 8.586 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.000408/0.01184, allocations: 161.8 kB / 0.7905 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-05/0.01189, allocations: 4 kB / 0.7905 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003894/0.01228, allocations: 90.95 kB / 0.7906 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.01228, allocations: 0 / 0.7906 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.01229, allocations: 0 / 0.7906 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01229, allocations: 4.469 kB / 0.7906 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.01258, allocations: 125.2 kB / 0.7907 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01258, allocations: 0 / 0.7907 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.0127, allocations: 16.8 kB / 0.7907 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.0127, allocations: 0 / 0.7907 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.01272, allocations: 4.812 kB / 0.7907 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.01273, allocations: 3.938 kB / 0.7907 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01273, allocations: 1.125 kB / 0.7907 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004919/0.01322, allocations: 232.8 kB / 0.7909 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.086e-05/0.01323, allocations: 0 / 0.7909 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.01325, allocations: 4 kB / 0.7909 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.0134, allocations: 9.156 kB / 0.7909 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.01346, allocations: 3.984 kB / 0.7909 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-06/0.01346, allocations: 0.9688 kB / 0.7909 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001346/0.0136, allocations: 139.2 kB / 0.7911 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/0.0136, allocations: 0 / 0.7911 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004088/0.01401, allocations: 10.22 kB / 0.7911 GB, free: 7.73 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001865/0.01419, allocations: 99.19 kB / 0.7912 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003838/0.01458, allocations: 48.08 kB / 0.7912 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.01458, allocations: 3.219 kB / 0.7912 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.01476, allocations: 35.77 kB / 0.7913 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/0.01522, allocations: 17.27 kB / 0.7913 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004235/0.01565, allocations: 135.1 kB / 0.7914 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.302e-05/0.01572, allocations: 67.28 kB / 0.7915 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.644e-05/0.01576, allocations: 9.109 kB / 0.7915 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.01579, allocations: 8.5 kB / 0.7915 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of SimCode: time 8.01e-07/0.01579, allocations: 0.5312 kB / 0.7915 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of Templates: time 0.004081/0.01988, allocations: 0.7404 MB / 0.7922 GB, free: 6.551 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.047010264010169]