Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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.001442/0.001442, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001787/0.001787, allocations: 168.3 kB / 24.86 MB, free: 9.27 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.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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 1.794/1.794, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] 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.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|minVal.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|minVal.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.876e-06/2.876e-06, allocations: 0 / 0.7884 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.172e-05/4.46e-05, allocations: 2.312 kB / 0.7884 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001771/0.001815, allocations: 0.6763 MB / 0.789 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001907/0.002006, allocations: 17.5 kB / 0.789 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.433e-05/0.00205, allocations: 0 / 0.789 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.002167, allocations: 4 kB / 0.7891 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.62e-05/0.002213, allocations: 7.922 kB / 0.7891 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001134/0.002326, allocations: 10.33 kB / 0.7891 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.002437, allocations: 39.91 kB / 0.7891 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.002552, allocations: 16 kB / 0.7891 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.07e-05/0.002592, allocations: 19.92 kB / 0.7891 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.084e-05/0.002623, allocations: 15.97 kB / 0.7892 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.002645, allocations: 4 kB / 0.7892 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.002658, allocations: 5.875 kB / 0.7892 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.208e-05/0.00269, allocations: 7.938 kB / 0.7892 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.002716, allocations: 11.98 kB / 0.7892 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.741e-05/0.002814, allocations: 35.84 kB / 0.7892 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.002817, allocations: 0 / 0.7892 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.51e-07/0.002818, allocations: 0.5 kB / 0.7892 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.002822, allocations: 1.5 kB / 0.7892 GB, free: 11.29 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003107/0.003133, allocations: 372.6 kB / 0.7896 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.003171, allocations: 8.031 kB / 0.7896 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.003201, allocations: 12.89 kB / 0.7896 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.003428, allocations: 133.5 kB / 0.7897 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.003439, allocations: 8.375 kB / 0.7897 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.003446, allocations: 384 / 0.7897 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.122e-05/0.003527, allocations: 46.97 kB / 0.7898 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.003534, allocations: 192 / 0.7898 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.003541, allocations: 1.375 kB / 0.7898 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.003547, allocations: 4.375 kB / 0.7898 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.056e-05/0.003567, allocations: 15.92 kB / 0.7898 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.003909, allocations: 0.5051 MB / 0.7903 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.494e-05/0.003994, allocations: 269.4 kB / 0.7905 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.246e-05/0.004026, allocations: 130.9 kB / 0.7907 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.004054, allocations: 119.2 kB / 0.7908 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/0.004097, allocations: 156.6 kB / 0.7909 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/0.004099, allocations: 0 / 0.7909 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 6.278e-05/0.004162, allocations: 34.38 kB / 0.791 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.004218, allocations: 170.6 kB / 0.7911 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.832e-05/0.004317, allocations: 174.4 kB / 0.7913 GB, free: 9 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.204e-06/0.004324, allocations: 25.81 kB / 0.7913 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/0.004388, allocations: 152.3 kB / 0.7915 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-06/0.00439, allocations: 0.6094 kB / 0.7915 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.004418, allocations: 23.36 kB / 0.7915 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.004529, allocations: 0.4884 MB / 0.792 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.968e-06/0.004539, allocations: 4.578 kB / 0.792 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-06/0.004546, allocations: 0.5 kB / 0.792 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.455e-05/0.004581, allocations: 16.5 kB / 0.792 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.004583, allocations: 0 / 0.792 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.671e-05/0.00466, allocations: 34.81 kB / 0.792 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.004672, allocations: 9.875 kB / 0.792 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.004676, allocations: 3.938 kB / 0.792 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.004684, allocations: 1.375 kB / 0.792 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.96e-05/0.004733, allocations: 4 kB / 0.792 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.004736, allocations: 0 / 0.792 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.747e-05/0.004753, allocations: 9.734 kB / 0.792 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.004761, allocations: 0 / 0.792 GB, free: 8.199 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 (1): * Single equations (assignments): 1 * 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.567e-05/0.004856, allocations: 275.7 kB / 0.7923 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.942e-05/0.004906, allocations: 152.9 kB / 0.7925 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.848e-05/0.004954, allocations: 161.1 kB / 0.7926 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.832e-05/0.005013, allocations: 272.1 kB / 0.7929 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.419e-05/0.005067, allocations: 268.1 kB / 0.7931 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.762e-05/0.005124, allocations: 268.9 kB / 0.7934 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.005296, allocations: 492.5 kB / 0.7939 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.603e-05/0.005332, allocations: 154.1 kB / 0.794 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.317e-05/0.005366, allocations: 148.8 kB / 0.7941 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.864e-05/0.005424, allocations: 264.1 kB / 0.7944 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-05/0.005484, allocations: 272.9 kB / 0.7947 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.898e-05/0.005543, allocations: 268.1 kB / 0.7949 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-05/0.005604, allocations: 273.2 kB / 0.7952 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.005738, allocations: 451.9 kB / 0.7956 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.005787, allocations: 156.8 kB / 0.7958 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.834e-05/0.005855, allocations: 269.5 kB / 0.796 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.941e-05/0.005915, allocations: 148.8 kB / 0.7962 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/0.00598, allocations: 268.1 kB / 0.7964 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-05/0.006016, allocations: 148.8 kB / 0.7965 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.764e-05/0.006064, allocations: 140.6 kB / 0.7967 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006064, allocations: 0 / 0.7967 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001403/0.006204, allocations: 7.938 kB / 0.7967 GB, free: 3.266 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 (0): * Single equations (assignments): 0 * 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.0001274/0.006331, allocations: 217.3 kB / 0.7969 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001593/0.006491, allocations: 7.688 kB / 0.7969 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.006493, allocations: 0 / 0.7969 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.006494, allocations: 4 kB / 0.7969 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.006836, allocations: 0.7077 MB / 0.7976 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002419/0.007078, allocations: 261.2 kB / 0.7978 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.706e-05/0.007115, allocations: 63.84 kB / 0.7979 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.094e-05/0.007136, allocations: 1.938 kB / 0.7979 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.604e-05/0.007182, allocations: 74.19 kB / 0.798 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of SimCode: time 9.62e-07/0.007183, allocations: 0 / 0.798 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of Templates: time 0.001971/0.009154, allocations: 338 kB / 0.7983 GB, free: 1.562 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.931105168070644]