Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001653, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 189.3 kB / 16.13 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.955/2.955, allocations: 437 MB / 0.71 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 75.81 kB / 0.8686 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8059/0.8079, allocations: 151.6 MB / 1.017 GB, free: 2.91 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.002133/0.8101, allocations: 0.6524 MB / 1.017 GB, free: 2.262 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 4.268e-05/0.8102, allocations: 0 / 1.017 GB, free: 2.262 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.306e-05/0.8102, allocations: 3.938 kB / 1.017 GB, free: 2.258 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.226e-05/0.8103, allocations: 4 kB / 1.017 GB, free: 2.254 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.575e-05/0.8103, allocations: 0 / 1.017 GB, free: 2.254 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.105e-05/0.8103, allocations: 0 / 1.017 GB, free: 2.254 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.13e-05/0.8104, allocations: 7.984 kB / 1.017 GB, free: 2.246 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.763e-05/0.8105, allocations: 0 / 1.017 GB, free: 2.246 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.635e-05/0.8105, allocations: 0 / 1.017 GB, free: 2.246 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.715e-05/0.8105, allocations: 0 / 1.017 GB, free: 2.246 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.8105, allocations: 0 / 1.017 GB, free: 2.246 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.657e-06/0.8105, allocations: 4 kB / 1.017 GB, free: 2.242 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.8105, allocations: 0 / 1.017 GB, free: 2.242 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.8106, allocations: 7.938 kB / 1.017 GB, free: 2.234 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.94e-05/0.8106, allocations: 7.938 kB / 1.017 GB, free: 2.227 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.8106, allocations: 0 / 1.017 GB, free: 2.227 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.91e-07/0.8106, allocations: 0 / 1.017 GB, free: 2.227 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.8106, allocations: 0 / 1.017 GB, free: 2.227 MB / 0.7637 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.0003786/0.811, allocations: 315.5 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.8111, allocations: 8.031 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.453e-05/0.8111, allocations: 4.938 kB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.8113, allocations: 160.4 kB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.8113, allocations: 384 / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.8113, allocations: 4.375 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.944e-05/0.8114, allocations: 30.27 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.8114, allocations: 4.188 kB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.8114, allocations: 3.938 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.8115, allocations: 0 / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.853e-05/0.8115, allocations: 3.984 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003518/0.8118, allocations: 379.5 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.812, allocations: 177.1 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.834e-05/0.812, allocations: 84.08 kB / 1.018 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.42e-05/0.8121, allocations: 75.28 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.356e-05/0.8121, allocations: 109.9 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 4.047e-06/0.8122, allocations: 0 / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 8.858e-05/0.8122, allocations: 33.64 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/0.8123, allocations: 130.7 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.8125, allocations: 93.86 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.8125, allocations: 25.7 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 6.309e-05/0.8126, allocations: 84.12 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.8126, allocations: 0 / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.8126, allocations: 13.7 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002014/0.8128, allocations: 323 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-06/0.8128, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.587e-06/0.8128, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.864e-05/0.8129, allocations: 75.28 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.384e-05/0.8129, allocations: 79.22 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.664e-05/0.813, allocations: 37.58 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.19e-05/0.813, allocations: 79.28 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.668e-05/0.8131, allocations: 79.28 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-05/0.8132, allocations: 158.5 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.52e-05/0.8132, allocations: 83.27 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.075e-05/0.8133, allocations: 154.6 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.116e-05/0.8134, allocations: 83.2 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/0.8134, allocations: 79.28 kB / 1.02 GB, free: 15.08 MB / 0.7794 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.0001768/0.8136, allocations: 268.3 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/0.8137, allocations: 104.9 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.982e-05/0.8137, allocations: 108.1 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.009e-05/0.8138, allocations: 180.3 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.758e-05/0.8139, allocations: 184.2 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-05/0.814, allocations: 176.3 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003109/0.8143, allocations: 413.1 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.335e-05/0.8144, allocations: 101 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.268e-05/0.8145, allocations: 101 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001003/0.8146, allocations: 184.2 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-05/0.8147, allocations: 180.3 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.051e-05/0.8148, allocations: 188.2 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-05/0.8148, allocations: 176.3 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.815, allocations: 312.1 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.118e-05/0.8151, allocations: 182.1 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.493e-05/0.8152, allocations: 184.2 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.965e-05/0.8153, allocations: 109 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.333e-05/0.8154, allocations: 180.2 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.422e-05/0.8154, allocations: 108.9 kB / 1.023 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.991e-05/0.8155, allocations: 83.27 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.9e-07/0.8155, allocations: 0 / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002582/0.8158, allocations: 0 / 1.024 GB, free: 11.41 MB / 0.7794 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.0001916/0.816, allocations: 184.6 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.613e-05/0.816, allocations: 0 / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.816, allocations: 0 / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.529e-06/0.816, allocations: 3.938 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/0.8165, allocations: 0.5286 MB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002409/0.8168, allocations: 157.9 kB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.8171, allocations: 0.6731 MB / 1.025 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.277e-06/0.8171, allocations: 0 / 1.025 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.732e-05/0.8171, allocations: 7.438 kB / 1.025 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.8171, allocations: 0 / 1.025 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of Templates: time 0.002458/0.8196, allocations: 164.9 kB / 1.025 GB, free: 9.637 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches