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.001362/0.001362, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001422/0.001422, allocations: 181 kB / 24.09 MB, free: 420 kB / 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 0.8984/0.8984, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.717/1.717, allocations: 359 MB / 0.6055 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.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 1.643e-06/1.643e-06, allocations: 0 / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138e-05/1.302e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001193/0.001206, allocations: 0.7119 MB / 0.7883 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000704/0.00191, allocations: 0.8487 MB / 0.7892 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.051e-05/0.00194, allocations: 0 / 0.7892 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.179e-05/0.001962, allocations: 7.922 kB / 0.7892 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.301e-05/0.002015, allocations: 8.5 kB / 0.7892 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 7.298e-05/0.002088, allocations: 12.64 kB / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.907e-05/0.002147, allocations: 40.92 kB / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.035e-05/0.002217, allocations: 11.98 kB / 0.7892 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.741e-05/0.002295, allocations: 19.98 kB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.659e-05/0.002331, allocations: 24.44 kB / 0.7893 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.002347, allocations: 8.719 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.003e-06/0.002354, allocations: 0 / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.002369, allocations: 11.98 kB / 0.7893 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.778e-05/0.002386, allocations: 12.62 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 5.919e-05/0.002446, allocations: 25.06 kB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.002447, allocations: 0 / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.5e-07/0.002448, allocations: 0 / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.685e-06/0.00245, allocations: 0 / 0.7893 GB, free: 10.39 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.0002766/0.002727, allocations: 381.4 kB / 0.7897 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.002769, allocations: 12.88 kB / 0.7897 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.317e-05/0.002792, allocations: 8.891 kB / 0.7897 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.033e-05/0.002852, allocations: 117.6 kB / 0.7898 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-06/0.002859, allocations: 384 / 0.7898 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.021e-06/0.002865, allocations: 4.375 kB / 0.7898 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.523e-05/0.00296, allocations: 63.56 kB / 0.7899 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.21e-06/0.002966, allocations: 6.844 kB / 0.7899 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-06/0.002971, allocations: 384 / 0.7899 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.002976, allocations: 4.375 kB / 0.7899 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.844e-05/0.002994, allocations: 11.92 kB / 0.7899 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.003296, allocations: 240.4 kB / 0.7901 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.799e-05/0.003344, allocations: 31.05 kB / 0.7902 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/0.003362, allocations: 15.62 kB / 0.7902 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.003378, allocations: 1.5 kB / 0.7902 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.003399, allocations: 41.45 kB / 0.7902 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.0034, allocations: 0 / 0.7902 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001051/0.003505, allocations: 46.5 kB / 0.7903 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.00353, allocations: 51.41 kB / 0.7903 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.87e-05/0.003599, allocations: 170.5 kB / 0.7905 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.003608, allocations: 25.7 kB / 0.7905 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.003648, allocations: 143.5 kB / 0.7906 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.32e-05/0.003661, allocations: 4.641 kB / 0.7907 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.003687, allocations: 23.38 kB / 0.7907 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.003798, allocations: 497.1 kB / 0.7912 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.342e-05/0.003811, allocations: 7.938 kB / 0.7912 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.085e-05/0.003822, allocations: 7.969 kB / 0.7912 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.453e-05/0.003847, allocations: 13.06 kB / 0.7912 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.003848, allocations: 0 / 0.7912 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.88e-05/0.003897, allocations: 53.64 kB / 0.7912 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.003906, allocations: 4 kB / 0.7912 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.00391, allocations: 1.812 kB / 0.7912 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.00392, allocations: 7.938 kB / 0.7912 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.652e-05/0.003976, allocations: 8 kB / 0.7913 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.003981, allocations: 7.922 kB / 0.7913 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.91e-05/0.004, allocations: 5.531 kB / 0.7913 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.004005, allocations: 0 / 0.7913 GB, free: 8.223 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 5.344e-05/0.004058, allocations: 152.6 kB / 0.7914 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.004071, allocations: 4.531 kB / 0.7914 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.425e-05/0.004136, allocations: 49.67 kB / 0.7915 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.00414, allocations: 9.844 kB / 0.7915 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.004142, allocations: 0 / 0.7915 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.004144, allocations: 0 / 0.7915 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.183e-05/0.004226, allocations: 109.2 kB / 0.7916 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.004226, allocations: 0 / 0.7916 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.511e-05/0.004251, allocations: 10.56 kB / 0.7916 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.004253, allocations: 0 / 0.7916 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.004258, allocations: 11.92 kB / 0.7916 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.004259, allocations: 0 / 0.7916 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.00426, allocations: 3.938 kB / 0.7916 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.023e-05/0.004341, allocations: 199.9 kB / 0.7918 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-06/0.004346, allocations: 0 / 0.7918 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.015e-06/0.004354, allocations: 4.531 kB / 0.7918 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.376e-05/0.004388, allocations: 4.719 kB / 0.7918 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.508e-05/0.004413, allocations: 7.922 kB / 0.7918 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.004414, allocations: 0.5312 kB / 0.7918 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.46e-05/0.004449, allocations: 141.1 kB / 0.7919 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.004449, allocations: 0 / 0.7919 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001253/0.004574, allocations: 4 kB / 0.7919 GB, free: 7.469 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 7.178e-05/0.004646, allocations: 96.31 kB / 0.792 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.651e-05/0.004702, allocations: 27.59 kB / 0.7921 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.004703, allocations: 0 / 0.7921 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.682e-05/0.00472, allocations: 12.64 kB / 0.7921 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.004874, allocations: 8.969 kB / 0.7921 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001859/0.00506, allocations: 131 kB / 0.7922 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.786e-05/0.005088, allocations: 56.95 kB / 0.7923 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.656e-05/0.005104, allocations: 4 kB / 0.7923 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.59e-05/0.00515, allocations: 74.19 kB / 0.7923 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of SimCode: time 3.41e-07/0.005151, allocations: 0.9375 kB / 0.7923 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of Templates: time 0.001894/0.007044, allocations: 0.8116 MB / 0.7931 GB, free: 6.227 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","",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.764707880094647]