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.001035/0.001035, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001079/0.001079, allocations: 170 kB / 24.86 MB, free: 8.836 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 0.9962/0.9962, allocations: 177.1 MB / 205.3 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.765/1.765, allocations: 359 MB / 0.6063 GB, free: 10.88 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.605e-06/2.605e-06, allocations: 0 / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.831e-05/3.092e-05, allocations: 7.016 kB / 0.7883 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001714/0.001744, allocations: 0.5696 MB / 0.7889 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 4.657e-05/0.001791, allocations: 4.188 kB / 0.7889 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.831e-05/0.001819, allocations: 0 / 0.7889 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.58e-05/0.001845, allocations: 1.625 kB / 0.7889 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.121e-05/0.001876, allocations: 0 / 0.7889 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.333e-05/0.00191, allocations: 0 / 0.7889 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.777e-05/0.001967, allocations: 11.97 kB / 0.7889 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.452e-05/0.002012, allocations: 1.219 kB / 0.7889 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.709e-05/0.002039, allocations: 0 / 0.7889 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.097e-05/0.00206, allocations: 0 / 0.7889 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.002075, allocations: 0.6875 kB / 0.7889 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.248e-06/0.00208, allocations: 0 / 0.7889 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.002098, allocations: 0.9062 kB / 0.7889 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.368e-05/0.002112, allocations: 8 kB / 0.7889 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 5.576e-05/0.002168, allocations: 3.938 kB / 0.7889 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.00217, allocations: 0.6562 kB / 0.7889 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.092e-06/0.002171, allocations: 0 / 0.7889 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.002175, allocations: 5.531 kB / 0.7889 GB, free: 11.59 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.0002607/0.002436, allocations: 340.4 kB / 0.7892 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.002474, allocations: 8.031 kB / 0.7893 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.284e-05/0.002496, allocations: 4.938 kB / 0.7893 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.692e-05/0.002583, allocations: 105.2 kB / 0.7894 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.002594, allocations: 3.812 kB / 0.7894 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.849e-06/0.002599, allocations: 384 / 0.7894 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.033e-05/0.002659, allocations: 30.27 kB / 0.7894 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.002667, allocations: 192 / 0.7894 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-06/0.002672, allocations: 384 / 0.7894 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.002676, allocations: 384 / 0.7894 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.907e-06/0.002685, allocations: 3.938 kB / 0.7894 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002447/0.00293, allocations: 466.7 kB / 0.7898 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.78e-05/0.003028, allocations: 265.5 kB / 0.7901 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.003066, allocations: 127.6 kB / 0.7902 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.003099, allocations: 120.8 kB / 0.7903 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.058e-05/0.00315, allocations: 156.6 kB / 0.7905 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.373e-06/0.003151, allocations: 0 / 0.7905 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 6.225e-05/0.003213, allocations: 33.58 kB / 0.7905 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/0.00328, allocations: 170.6 kB / 0.7907 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.073e-05/0.003361, allocations: 163.1 kB / 0.7908 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.00337, allocations: 25.7 kB / 0.7909 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.003413, allocations: 127.6 kB / 0.791 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.82e-07/0.003414, allocations: 0 / 0.791 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.003439, allocations: 16.72 kB / 0.791 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002058/0.003644, allocations: 496.1 kB / 0.7915 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.406e-06/0.003648, allocations: 0 / 0.7915 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.476e-06/0.003651, allocations: 0 / 0.7915 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.809e-05/0.003679, allocations: 120.3 kB / 0.7916 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.754e-05/0.003707, allocations: 123.2 kB / 0.7917 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.905e-05/0.003766, allocations: 34.59 kB / 0.7917 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.943e-05/0.003805, allocations: 124 kB / 0.7918 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.172e-05/0.003837, allocations: 123.1 kB / 0.792 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.998e-05/0.003907, allocations: 263.5 kB / 0.7922 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.497e-05/0.003942, allocations: 119.3 kB / 0.7923 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.657e-05/0.003999, allocations: 242.4 kB / 0.7926 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.399e-05/0.004073, allocations: 128.5 kB / 0.7927 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.004102, allocations: 123.2 kB / 0.7928 GB, free: 7.418 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.0001208/0.004223, allocations: 391 kB / 0.7932 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.189e-05/0.004285, allocations: 153.4 kB / 0.7933 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.008e-05/0.004335, allocations: 152.4 kB / 0.7935 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.388e-05/0.004399, allocations: 268 kB / 0.7937 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.458e-05/0.004463, allocations: 272.9 kB / 0.794 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.268e-05/0.004526, allocations: 264.1 kB / 0.7942 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.004728, allocations: 493.3 kB / 0.7947 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.825e-05/0.004767, allocations: 144.9 kB / 0.7948 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.552e-05/0.004802, allocations: 145.4 kB / 0.795 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.267e-05/0.004875, allocations: 268 kB / 0.7952 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-05/0.004941, allocations: 269.5 kB / 0.7955 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.692e-05/0.005018, allocations: 272 kB / 0.7958 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.364e-05/0.005081, allocations: 264.1 kB / 0.796 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.005232, allocations: 461.1 kB / 0.7964 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-05/0.005274, allocations: 144.9 kB / 0.7966 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.246e-05/0.005346, allocations: 276 kB / 0.7968 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.933e-05/0.005426, allocations: 144.9 kB / 0.797 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.991e-05/0.005495, allocations: 268.7 kB / 0.7972 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.005532, allocations: 149.9 kB / 0.7974 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.853e-05/0.005571, allocations: 123.2 kB / 0.7975 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.005571, allocations: 0.8125 kB / 0.7975 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002762/0.005847, allocations: 0 / 0.7975 GB, free: 2.418 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.000142/0.005989, allocations: 219.4 kB / 0.7977 GB, free: 2.195 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.196e-05/0.006031, allocations: 5.219 kB / 0.7977 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.006033, allocations: 0 / 0.7977 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.006037, allocations: 3.938 kB / 0.7977 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.006525, allocations: 0.7032 MB / 0.7984 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002112/0.006736, allocations: 208.6 kB / 0.7986 GB, free: 1.246 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.531e-05/0.006771, allocations: 57.55 kB / 0.7987 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.156e-06/0.006774, allocations: 3.938 kB / 0.7987 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.006804, allocations: 66.2 kB / 0.7987 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.006804, allocations: 0 / 0.7987 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of Templates: time 0.001663/0.008467, allocations: 173.7 kB / 0.7989 GB, free: 0.9375 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: 5.004750445019454]