Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001045/0.001045, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001051/0.001051, allocations: 169 kB / 24.28 MB, free: 276 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.9522/0.9522, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.841/1.841, allocations: 359 MB / 0.6055 GB, free: 10.99 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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.7871 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.797e-05, allocations: 9.516 kB / 0.7871 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001473/0.001501, allocations: 0.5947 MB / 0.7877 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 4.741e-05/0.001548, allocations: 4.188 kB / 0.7877 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.125e-05/0.00158, allocations: 0 / 0.7877 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.589e-05/0.001606, allocations: 1.562 kB / 0.7877 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.883e-05/0.001634, allocations: 3.938 kB / 0.7877 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.597e-05/0.00167, allocations: 7.938 kB / 0.7877 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.76e-05/0.001728, allocations: 0 / 0.7877 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.896e-05/0.001777, allocations: 6.281 kB / 0.7878 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.231e-05/0.001809, allocations: 0 / 0.7878 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.185e-05/0.001831, allocations: 0 / 0.7878 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.001851, allocations: 0 / 0.7878 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.008e-06/0.001855, allocations: 0 / 0.7878 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.001869, allocations: 0 / 0.7878 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.889e-05/0.001888, allocations: 1.938 kB / 0.7878 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 6.506e-05/0.001953, allocations: 7.984 kB / 0.7878 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.001955, allocations: 0 / 0.7878 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.31e-07/0.001956, allocations: 0 / 0.7878 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.626e-06/0.001959, allocations: 0 / 0.7878 GB, free: 12.12 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.003303/0.005262, allocations: 340.4 kB / 0.7881 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.005302, allocations: 9.594 kB / 0.7881 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.005339, allocations: 4.938 kB / 0.7881 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.307e-05/0.005432, allocations: 108.6 kB / 0.7882 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.005443, allocations: 1.469 kB / 0.7882 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.005452, allocations: 4.312 kB / 0.7882 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.484e-05/0.005527, allocations: 34.25 kB / 0.7882 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.005534, allocations: 0.8438 kB / 0.7882 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.005543, allocations: 384 / 0.7882 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.005551, allocations: 5.375 kB / 0.7882 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.284e-05/0.005564, allocations: 7.938 kB / 0.7883 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002627/0.005827, allocations: 468.8 kB / 0.7887 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.638e-05/0.005913, allocations: 269.5 kB / 0.789 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.523e-05/0.005948, allocations: 130.9 kB / 0.7891 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.005975, allocations: 123.1 kB / 0.7892 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/0.006021, allocations: 156.6 kB / 0.7894 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.006022, allocations: 0 / 0.7894 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 6.669e-05/0.006089, allocations: 29.64 kB / 0.7894 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.006142, allocations: 171.3 kB / 0.7895 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.818e-05/0.00622, allocations: 150.5 kB / 0.7897 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.866e-06/0.006229, allocations: 31.36 kB / 0.7897 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.672e-05/0.006266, allocations: 126.9 kB / 0.7898 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.006268, allocations: 0 / 0.7898 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.006291, allocations: 19.38 kB / 0.7899 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.0064, allocations: 496.1 kB / 0.7903 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.651e-06/0.006405, allocations: 4.656 kB / 0.7903 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.987e-06/0.006409, allocations: 3.938 kB / 0.7903 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.979e-05/0.006439, allocations: 120.1 kB / 0.7905 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.437e-05/0.006463, allocations: 119.2 kB / 0.7906 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.839e-05/0.006512, allocations: 31.47 kB / 0.7906 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/0.006548, allocations: 123.2 kB / 0.7907 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.92e-05/0.006577, allocations: 123.1 kB / 0.7908 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.149e-05/0.006638, allocations: 247.7 kB / 0.7911 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.614e-05/0.006664, allocations: 119.3 kB / 0.7912 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.632e-05/0.006721, allocations: 250.3 kB / 0.7914 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.462e-05/0.006785, allocations: 123.2 kB / 0.7915 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.006811, allocations: 124.9 kB / 0.7917 GB, free: 7.93 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.0001081/0.00692, allocations: 394.9 kB / 0.792 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.00697, allocations: 149.2 kB / 0.7922 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.454e-05/0.007025, allocations: 151.8 kB / 0.7923 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-05/0.007088, allocations: 276.8 kB / 0.7926 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.865e-05/0.007147, allocations: 272 kB / 0.7928 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.728e-05/0.007204, allocations: 268.9 kB / 0.7931 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.00738, allocations: 499.9 kB / 0.7936 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.385e-05/0.007414, allocations: 150.2 kB / 0.7937 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.007448, allocations: 152.8 kB / 0.7939 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-05/0.007504, allocations: 264.1 kB / 0.7941 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-05/0.007569, allocations: 276 kB / 0.7944 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-05/0.007625, allocations: 268.9 kB / 0.7946 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.554e-05/0.007681, allocations: 268.1 kB / 0.7949 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.007823, allocations: 453 kB / 0.7953 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-05/0.007861, allocations: 152.8 kB / 0.7955 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.837e-05/0.007929, allocations: 268.1 kB / 0.7957 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003083/0.01101, allocations: 154.2 kB / 0.7959 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.246e-05/0.01107, allocations: 268 kB / 0.7961 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-05/0.01111, allocations: 149.2 kB / 0.7963 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.886e-05/0.01115, allocations: 124.6 kB / 0.7964 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01115, allocations: 0 / 0.7964 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002352/0.01138, allocations: 0 / 0.7964 GB, free: 2.883 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.0001059/0.01149, allocations: 217.4 kB / 0.7966 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.647e-05/0.01154, allocations: 3.938 kB / 0.7966 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01154, allocations: 0 / 0.7966 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.01154, allocations: 0 / 0.7966 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.01188, allocations: 0.7062 MB / 0.7973 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002295/0.01211, allocations: 212.6 kB / 0.7975 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.46e-05/0.01215, allocations: 51.86 kB / 0.7975 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.124e-06/0.01215, allocations: 1.938 kB / 0.7975 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.074e-05/0.01216, allocations: 8.5 kB / 0.7976 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.01216, allocations: 0 / 0.7976 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of Templates: time 0.001626/0.01379, allocations: 166 kB / 0.7977 GB, free: 1.473 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.070494804996997]