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.001769/0.001769, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002115/0.002115, allocations: 193.8 kB / 16.25 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.393/1.393, allocations: 222.9 MB / 239.9 MB, free: 4.496 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.785/2.785, allocations: 437 MB / 0.71 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 67.89 kB / 0.8687 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5985/0.5999, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001842/0.6018, allocations: 0.6429 MB / 1.017 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 4.27e-05/0.6019, allocations: 4 kB / 1.017 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.934e-05/0.6019, allocations: 0 / 1.017 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.632e-05/0.602, allocations: 7.875 kB / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.906e-05/0.602, allocations: 0 / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.824e-05/0.602, allocations: 0 / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.546e-05/0.6021, allocations: 11.97 kB / 1.017 GB, free: 2.039 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.573e-05/0.6021, allocations: 0 / 1.017 GB, free: 2.039 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.602e-05/0.6022, allocations: 4 kB / 1.017 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.965e-05/0.6022, allocations: 0 / 1.017 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.6022, allocations: 0 / 1.017 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.853e-06/0.6022, allocations: 0 / 1.017 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.6022, allocations: 0 / 1.017 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.6023, allocations: 8 kB / 1.017 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.229e-05/0.6023, allocations: 3.938 kB / 1.017 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6023, allocations: 0 / 1.017 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.825e-06/0.6024, allocations: 0 / 1.017 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.6024, allocations: 0 / 1.017 GB, free: 2.023 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.0003533/0.6027, allocations: 319.5 kB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.6028, allocations: 8.031 kB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.6028, allocations: 0.9375 kB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.6029, allocations: 164.4 kB / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.6029, allocations: 384 / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-06/0.6029, allocations: 384 / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.712e-05/0.603, allocations: 38.2 kB / 1.018 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.603, allocations: 8.109 kB / 1.018 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.6031, allocations: 7.938 kB / 1.018 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.6031, allocations: 4 kB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.621e-05/0.6031, allocations: 0 / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.6034, allocations: 379.5 kB / 1.018 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.503e-05/0.6035, allocations: 169.1 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.606e-05/0.6036, allocations: 84.08 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.6036, allocations: 79.28 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.489e-05/0.6036, allocations: 109.9 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.6036, allocations: 0 / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 6.788e-05/0.6037, allocations: 25.7 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.6038, allocations: 130.7 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.291e-05/0.6039, allocations: 93.86 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.6039, allocations: 29.83 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.084e-05/0.6039, allocations: 84.12 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.6039, allocations: 0 / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/0.604, allocations: 9.719 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.6041, allocations: 318.8 kB / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.48e-06/0.6041, allocations: 3.938 kB / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.895e-06/0.6041, allocations: 0 / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.858e-05/0.6041, allocations: 75.28 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.592e-05/0.6042, allocations: 79.28 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.265e-05/0.6042, allocations: 37.58 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/0.6043, allocations: 79.28 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.34e-05/0.6043, allocations: 79.22 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.984e-05/0.6044, allocations: 150.6 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.621e-05/0.6044, allocations: 83.27 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.681e-05/0.6044, allocations: 158.5 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.592e-05/0.6045, allocations: 79.28 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.6045, allocations: 83.22 kB / 1.02 GB, free: 14.88 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.0001111/0.6047, allocations: 264.3 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.722e-05/0.6047, allocations: 101 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.999e-05/0.6048, allocations: 108.1 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.627e-05/0.6048, allocations: 192.2 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.847e-05/0.6049, allocations: 180.3 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-05/0.605, allocations: 180.2 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.6052, allocations: 401.2 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.275e-05/0.6052, allocations: 105 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.454e-05/0.6053, allocations: 104.9 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.666e-05/0.6053, allocations: 184.3 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.254e-05/0.6054, allocations: 184.2 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.227e-05/0.6055, allocations: 180.3 kB / 1.022 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.309e-05/0.6055, allocations: 180.2 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.6057, allocations: 316.1 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.6058, allocations: 186 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.096e-05/0.6058, allocations: 176.3 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.226e-05/0.6059, allocations: 113 kB / 1.023 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/0.606, allocations: 180.2 kB / 1.023 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.606, allocations: 105 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.137e-05/0.6061, allocations: 87.27 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.6061, allocations: 0 / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000255/0.6063, allocations: 0 / 1.024 GB, free: 11.2 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.0001515/0.6065, allocations: 178.5 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.69e-05/0.6065, allocations: 3.938 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6065, allocations: 0 / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.6065, allocations: 4.094 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.6069, allocations: 455.6 kB / 1.024 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002074/0.6071, allocations: 164.2 kB / 1.024 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.6073, allocations: 0.6767 MB / 1.025 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.805e-06/0.6073, allocations: 0 / 1.025 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.723e-05/0.6074, allocations: 7.438 kB / 1.025 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6074, allocations: 4 kB / 1.025 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.001843/0.6092, allocations: 166.8 kB / 1.025 GB, free: 9.5 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=480 -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