Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.000923/0.000923, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001025/0.001025, allocations: 169 kB / 24.06 MB, free: 452 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.9342/0.9342, allocations: 177.1 MB / 204.5 MB, free: 5.152 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.122/2.122, allocations: 429.5 MB / 0.6743 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.8794 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.53e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001394/0.00142, allocations: 0.609 MB / 0.88 GB, free: 5.391 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 4.586e-05/0.001465, allocations: 4.172 kB / 0.88 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.311e-05/0.001489, allocations: 0.6562 kB / 0.88 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.217e-05/0.001511, allocations: 0 / 0.88 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.906e-05/0.00154, allocations: 2 kB / 0.88 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 2.984e-05/0.00157, allocations: 0 / 0.88 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.681e-05/0.001616, allocations: 4.766 kB / 0.88 GB, free: 5.383 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.215e-05/0.001669, allocations: 11.91 kB / 0.8801 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.551e-05/0.001694, allocations: 0 / 0.8801 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 1.783e-05/0.001712, allocations: 1.094 kB / 0.8801 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.001726, allocations: 0 / 0.8801 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.139e-06/0.001732, allocations: 4 kB / 0.8801 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.001745, allocations: 0 / 0.8801 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.343e-05/0.001758, allocations: 0.6562 kB / 0.8801 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 5.221e-05/0.00181, allocations: 3.984 kB / 0.8801 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.001812, allocations: 0 / 0.8801 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.82e-07/0.001813, allocations: 0.875 kB / 0.8801 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.001817, allocations: 0 / 0.8801 GB, free: 5.367 MB / 0.8386 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.0002186/0.002036, allocations: 337.3 kB / 0.8804 GB, free: 5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.002069, allocations: 12.03 kB / 0.8804 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.982e-05/0.002089, allocations: 1.281 kB / 0.8804 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.582e-05/0.002165, allocations: 109.6 kB / 0.8805 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.002174, allocations: 4.375 kB / 0.8805 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.6e-06/0.00218, allocations: 5.469 kB / 0.8805 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.83e-05/0.002228, allocations: 30.8 kB / 0.8805 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.002237, allocations: 4.172 kB / 0.8805 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.371e-06/0.002242, allocations: 1.625 kB / 0.8805 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.002247, allocations: 384 / 0.8805 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.897e-06/0.002255, allocations: 11.88 kB / 0.8806 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.002603, allocations: 459 kB / 0.881 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.847e-05/0.002682, allocations: 261.4 kB / 0.8812 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.785e-05/0.00271, allocations: 126.9 kB / 0.8814 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.002734, allocations: 119.2 kB / 0.8815 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.002778, allocations: 168.5 kB / 0.8816 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.002779, allocations: 0 / 0.8816 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 4.824e-05/0.002827, allocations: 29.64 kB / 0.8817 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.00288, allocations: 171.2 kB / 0.8818 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.532e-05/0.002945, allocations: 154.9 kB / 0.882 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.302e-06/0.002951, allocations: 25.7 kB / 0.882 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.002986, allocations: 127.5 kB / 0.8821 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.142e-06/0.002987, allocations: 0 / 0.8821 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.733e-05/0.003004, allocations: 16.78 kB / 0.8821 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.00311, allocations: 497 kB / 0.8826 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.025e-06/0.003113, allocations: 0 / 0.8826 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.86e-06/0.003117, allocations: 4.688 kB / 0.8826 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.92e-05/0.003147, allocations: 128.4 kB / 0.8827 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.489e-05/0.003172, allocations: 119.2 kB / 0.8829 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.888e-05/0.00321, allocations: 29.7 kB / 0.8829 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/0.003247, allocations: 129.7 kB / 0.883 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/0.003273, allocations: 119.2 kB / 0.8831 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.893e-05/0.003332, allocations: 254.2 kB / 0.8834 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.629e-05/0.003359, allocations: 127.3 kB / 0.8835 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.771e-05/0.003406, allocations: 246.3 kB / 0.8837 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.773e-05/0.003454, allocations: 123.2 kB / 0.8838 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.003481, allocations: 123.2 kB / 0.884 GB, free: 1.188 MB / 0.8386 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.0001033/0.003584, allocations: 394.9 kB / 0.8843 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.003631, allocations: 148.9 kB / 0.8845 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.62e-05/0.003677, allocations: 147.9 kB / 0.8846 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.525e-05/0.003733, allocations: 276 kB / 0.8849 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-05/0.003802, allocations: 276.1 kB / 0.8851 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.537e-05/0.003858, allocations: 268 kB / 0.8854 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.004014, allocations: 480.6 kB / 0.8859 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.288e-05/0.004047, allocations: 144.9 kB / 0.886 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.394e-05/0.004081, allocations: 148.8 kB / 0.8861 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-05/0.00414, allocations: 272.1 kB / 0.8864 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.03e-05/0.004201, allocations: 268 kB / 0.8866 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.937e-05/0.00426, allocations: 264.1 kB / 0.8869 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-05/0.00432, allocations: 272.1 kB / 0.8872 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.004446, allocations: 451.9 kB / 0.8876 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.034e-05/0.004486, allocations: 152.8 kB / 0.8877 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.511e-05/0.004552, allocations: 268.1 kB / 0.888 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.081e-05/0.004602, allocations: 144.9 kB / 0.8881 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/0.004808, allocations: 268 kB / 0.8884 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/0.004848, allocations: 161.1 kB / 0.8885 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.374e-05/0.004892, allocations: 119.2 kB / 0.8887 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.004892, allocations: 0 / 0.8887 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001509/0.005043, allocations: 0 / 0.8887 GB, free: 12.18 MB / 0.8542 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.0001269/0.00517, allocations: 218.5 kB / 0.8889 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 3.615e-05/0.005206, allocations: 3.938 kB / 0.8889 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.005208, allocations: 0 / 0.8889 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.005209, allocations: 0 / 0.8889 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.00549, allocations: 0.7023 MB / 0.8896 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001727/0.005663, allocations: 204.8 kB / 0.8897 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.953e-05/0.005692, allocations: 55.3 kB / 0.8898 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.623e-06/0.005694, allocations: 4 kB / 0.8898 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.005718, allocations: 70.14 kB / 0.8899 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of SimCode: time 7.12e-07/0.005719, allocations: 0 / 0.8899 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of Templates: time 0.001425/0.007144, allocations: 168.7 kB / 0.89 GB, free: 10.7 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_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.331435952801257]