Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.001138/0.001138, 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.001241/0.001241, 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.9347/0.9347, 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.747/1.747, allocations: 359 MB / 0.6055 GB, free: 10.91 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 0.7876 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.904e-05/2.166e-05, allocations: 4.844 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001149/0.001171, allocations: 0.5657 MB / 0.7881 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 4.786e-05/0.001218, allocations: 9.531 kB / 0.7881 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.077e-05/0.001249, allocations: 0 / 0.7881 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.602e-05/0.001275, allocations: 0 / 0.7881 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.108e-05/0.001306, allocations: 0 / 0.7881 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.361e-05/0.00134, allocations: 5.062 kB / 0.7881 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.948e-05/0.001389, allocations: 3.984 kB / 0.7881 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.94e-05/0.001429, allocations: 0 / 0.7881 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.29e-05/0.001462, allocations: 1.562 kB / 0.7881 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.142e-05/0.001483, allocations: 4 kB / 0.7881 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.001501, allocations: 0 / 0.7881 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.897e-06/0.001505, allocations: 0 / 0.7881 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.00152, allocations: 1.594 kB / 0.7881 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.558e-05/0.001535, allocations: 0 / 0.7881 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 5.655e-05/0.001592, allocations: 4 kB / 0.7881 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.001593, allocations: 0 / 0.7881 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.11e-07/0.001594, allocations: 0 / 0.7881 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.001598, allocations: 5.281 kB / 0.7882 GB, free: 11.61 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002175/0.001815, allocations: 344.4 kB / 0.7885 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.00185, allocations: 8.031 kB / 0.7885 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.856e-05/0.001869, allocations: 2.938 kB / 0.7885 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.739e-05/0.001936, allocations: 112.6 kB / 0.7886 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.001945, allocations: 384 / 0.7886 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.721e-06/0.00195, allocations: 384 / 0.7886 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.315e-05/0.002003, allocations: 26.27 kB / 0.7886 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.311e-06/0.00201, allocations: 2.406 kB / 0.7886 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.002017, allocations: 4.359 kB / 0.7886 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.002022, allocations: 4.375 kB / 0.7886 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.552e-06/0.002029, allocations: 3.938 kB / 0.7886 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002174/0.002246, allocations: 462.8 kB / 0.7891 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.538e-05/0.002322, allocations: 261.4 kB / 0.7893 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.051e-05/0.002352, allocations: 131.4 kB / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.002378, allocations: 119.8 kB / 0.7896 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.002418, allocations: 152.6 kB / 0.7897 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.002419, allocations: 1.219 kB / 0.7897 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 4.992e-05/0.002469, allocations: 37.56 kB / 0.7898 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.002516, allocations: 174.6 kB / 0.7899 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.595e-05/0.002582, allocations: 151.1 kB / 0.7901 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.823e-06/0.002589, allocations: 25.7 kB / 0.7901 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.717e-05/0.002626, allocations: 132.2 kB / 0.7902 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.31e-07/0.002627, allocations: 0 / 0.7902 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.651e-05/0.002643, allocations: 19.38 kB / 0.7902 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.002753, allocations: 496.1 kB / 0.7907 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.995e-06/0.002756, allocations: 1.75 kB / 0.7907 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.927e-06/0.00276, allocations: 0 / 0.7907 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.649e-05/0.002787, allocations: 119.2 kB / 0.7908 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.663e-05/0.002813, allocations: 123.2 kB / 0.7909 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.595e-05/0.002849, allocations: 35.48 kB / 0.791 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/0.002886, allocations: 127.2 kB / 0.7911 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-05/0.002916, allocations: 119.2 kB / 0.7912 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.214e-05/0.002978, allocations: 242.9 kB / 0.7914 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.018e-05/0.003008, allocations: 125.2 kB / 0.7916 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.876e-05/0.003067, allocations: 246.4 kB / 0.7918 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.808e-05/0.003125, allocations: 131.1 kB / 0.7919 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.003156, allocations: 119.2 kB / 0.792 GB, free: 7.438 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 (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 prepare postOptimizeDAE: time 0.0001223/0.003278, allocations: 402.9 kB / 0.7924 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/0.003328, allocations: 151.3 kB / 0.7926 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.401e-05/0.003382, allocations: 147.9 kB / 0.7927 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.223e-05/0.003444, allocations: 272 kB / 0.793 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.937e-05/0.003513, allocations: 268 kB / 0.7932 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.188e-05/0.003575, allocations: 272 kB / 0.7935 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.003739, allocations: 484.5 kB / 0.7939 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.634e-05/0.003775, allocations: 149.6 kB / 0.7941 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-05/0.003812, allocations: 148.9 kB / 0.7942 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002552/0.004067, allocations: 268.5 kB / 0.7945 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.228e-05/0.00413, allocations: 268.1 kB / 0.7947 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-05/0.004188, allocations: 273.7 kB / 0.795 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.478e-05/0.004243, allocations: 264.1 kB / 0.7952 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.00436, allocations: 459.8 kB / 0.7957 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.004395, allocations: 148.9 kB / 0.7958 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.173e-05/0.004457, allocations: 268.9 kB / 0.7961 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.005e-05/0.004507, allocations: 144.9 kB / 0.7962 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.11e-05/0.004568, allocations: 268.9 kB / 0.7965 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.355e-05/0.004602, allocations: 157.1 kB / 0.7966 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.486e-05/0.004637, allocations: 120.5 kB / 0.7967 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.004637, allocations: 0 / 0.7967 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001426/0.004779, allocations: 0 / 0.7967 GB, free: 2.426 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 9.341e-05/0.004873, allocations: 215.2 kB / 0.797 GB, free: 2.207 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 3.309e-05/0.004906, allocations: 4.875 kB / 0.797 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.004907, allocations: 0 / 0.797 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.004908, allocations: 1.562 kB / 0.797 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.005193, allocations: 0.71 MB / 0.7976 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001593/0.005352, allocations: 204.6 kB / 0.7978 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.878e-05/0.005381, allocations: 59.28 kB / 0.7979 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.613e-06/0.005383, allocations: 1.125 kB / 0.7979 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.005409, allocations: 66.2 kB / 0.798 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of SimCode: time 3.31e-07/0.005409, allocations: 0 / 0.798 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of Templates: time 0.001192/0.006601, allocations: 174 kB / 0.7981 GB, free: 0.9492 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.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.742115575354546]