Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007774/0.007774, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.001798/0.001798, allocations: 195.5 kB / 16.79 MB, free: 6.254 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.449/1.449, allocations: 222.9 MB / 240.5 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.749/2.749, allocations: 461.9 MB / 0.7348 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 64.31 kB / 0.8991 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3192, allocations: 157.4 MB / 1.053 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.00208/0.3214, allocations: 0.6182 MB / 1.053 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 4.765e-05/0.3214, allocations: 0 / 1.053 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.593e-05/0.3215, allocations: 0 / 1.053 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.178e-05/0.3215, allocations: 0 / 1.053 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.911e-05/0.3216, allocations: 0 / 1.053 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.262e-05/0.3216, allocations: 0 / 1.053 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.646e-05/0.3217, allocations: 4 kB / 1.053 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.524e-05/0.3217, allocations: 4 kB / 1.053 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.465e-05/0.3217, allocations: 0 / 1.053 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.162e-05/0.3218, allocations: 7.984 kB / 1.053 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.3218, allocations: 0 / 1.053 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.967e-06/0.3218, allocations: 0 / 1.053 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.3218, allocations: 0 / 1.053 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.3218, allocations: 3.938 kB / 1.053 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.524e-05/0.3219, allocations: 7.984 kB / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3219, allocations: 0 / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3219, allocations: 3.938 kB / 1.053 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.3219, allocations: 4 kB / 1.053 GB, free: 7.684 MB / 0.8106 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.0003314/0.3223, allocations: 311.5 kB / 1.054 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3223, allocations: 8.031 kB / 1.054 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/0.3223, allocations: 0.9375 kB / 1.054 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.3225, allocations: 164.4 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.3225, allocations: 8.359 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.705e-06/0.3225, allocations: 4.375 kB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.06e-05/0.3226, allocations: 26.27 kB / 1.054 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3226, allocations: 4.188 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3226, allocations: 3.938 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3226, allocations: 0 / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.71e-05/0.3226, allocations: 4 kB / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.323, allocations: 383.5 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.114e-05/0.3231, allocations: 169.1 kB / 1.054 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.561e-05/0.3231, allocations: 84.14 kB / 1.055 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.3232, allocations: 75.28 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.3232, allocations: 109.9 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3232, allocations: 0 / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 9.107e-05/0.3233, allocations: 37.64 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.3234, allocations: 126.7 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.163e-05/0.3235, allocations: 101.8 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.3235, allocations: 25.7 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.274e-05/0.3235, allocations: 80.14 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-06/0.3235, allocations: 3.938 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.026e-05/0.3236, allocations: 9.719 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3237, allocations: 314.8 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.499e-05/0.3237, allocations: 0 / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.751e-06/0.3237, allocations: 12.06 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.707e-05/0.3237, allocations: 75.28 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.352e-05/0.3238, allocations: 75.28 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.015e-05/0.3238, allocations: 37.56 kB / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.849e-05/0.3239, allocations: 83.28 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-05/0.3239, allocations: 75.28 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.333e-05/0.324, allocations: 154.5 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.784e-05/0.324, allocations: 79.28 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.14e-05/0.3241, allocations: 154.6 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.65e-05/0.3242, allocations: 83.22 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.3242, allocations: 75.28 kB / 1.056 GB, free: 4.551 MB / 0.8106 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.0001238/0.3243, allocations: 264.3 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.049e-05/0.3244, allocations: 108.9 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.474e-05/0.3245, allocations: 108.1 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.307e-05/0.3245, allocations: 180.3 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.321e-05/0.3246, allocations: 184.2 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.505e-05/0.3247, allocations: 180.2 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.3249, allocations: 401.1 kB / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.661e-05/0.325, allocations: 109 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.106e-05/0.325, allocations: 113 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.436e-05/0.3251, allocations: 180.5 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.608e-05/0.3252, allocations: 180.3 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.533e-05/0.3253, allocations: 180.2 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.19e-05/0.3254, allocations: 184.3 kB / 1.058 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.3255, allocations: 315.7 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.432e-05/0.3256, allocations: 178.1 kB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.027e-05/0.3257, allocations: 180.2 kB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.685e-05/0.3258, allocations: 101 kB / 1.059 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.378e-05/0.3259, allocations: 192.2 kB / 1.059 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.3259, allocations: 104.9 kB / 1.06 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.605e-05/0.3259, allocations: 75.28 kB / 1.06 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.9e-07/0.326, allocations: 4 kB / 1.06 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002691/0.3262, allocations: 0 / 1.06 GB, free: 0.8828 MB / 0.8106 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.0001652/0.3264, allocations: 170.5 kB / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 3.671e-05/0.3264, allocations: 4.094 kB / 1.06 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3265, allocations: 0 / 1.06 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.895e-06/0.3265, allocations: 3.938 kB / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.3269, allocations: 0.5379 MB / 1.06 GB, free: 156 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002507/0.3271, allocations: 175.7 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.3274, allocations: 0.6731 MB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.762e-05/0.3274, allocations: 11.44 kB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.3274, allocations: 0 / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of Templates: time 0.001516/0.329, allocations: 319.8 kB / 1.061 GB, free: 14.92 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches