Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_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_10_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.00153/0.001529, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.00149/0.00149, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.477/1.477, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.622/2.622, allocations: 437.1 MB / 0.7111 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 71.91 kB / 0.8699 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.325, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001874/0.327, allocations: 0.5418 MB / 1.019 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 3.696e-05/0.327, allocations: 4 kB / 1.019 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.553e-05/0.327, allocations: 0 / 1.019 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.787e-05/0.3271, allocations: 3.938 kB / 1.019 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.485e-05/0.3271, allocations: 7.875 kB / 1.019 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 2.94e-05/0.3272, allocations: 0 / 1.019 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.737e-05/0.3272, allocations: 0 / 1.019 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.321e-05/0.3273, allocations: 4 kB / 1.019 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.186e-05/0.3273, allocations: 0 / 1.019 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.593e-05/0.3273, allocations: 0 / 1.019 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.3273, allocations: 0 / 1.019 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.226e-06/0.3273, allocations: 4 kB / 1.019 GB, free: 10.04 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.3274, allocations: 7.984 kB / 1.019 GB, free: 10.04 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.81e-05/0.3274, allocations: 4 kB / 1.019 GB, free: 10.03 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 4.896e-05/0.3274, allocations: 7.922 kB / 1.019 GB, free: 10.02 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3274, allocations: 0 / 1.019 GB, free: 10.02 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3274, allocations: 0 / 1.019 GB, free: 10.02 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.3275, allocations: 0 / 1.019 GB, free: 10.02 MB / 0.795 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.0003939/0.3278, allocations: 311.5 kB / 1.019 GB, free: 9.668 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.3279, allocations: 8.922 kB / 1.019 GB, free: 9.66 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.3279, allocations: 0.9375 kB / 1.019 GB, free: 9.66 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.3281, allocations: 176.4 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.3281, allocations: 384 / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-06/0.3281, allocations: 384 / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.316e-05/0.3282, allocations: 26.27 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3282, allocations: 192 / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.3282, allocations: 7.875 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3282, allocations: 4 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.335e-05/0.3282, allocations: 0 / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.3286, allocations: 383.5 kB / 1.019 GB, free: 8.98 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.942e-05/0.3287, allocations: 173.1 kB / 1.02 GB, free: 8.801 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.895e-05/0.3287, allocations: 84.08 kB / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.3288, allocations: 75.28 kB / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.431e-05/0.3289, allocations: 113.8 kB / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.3289, allocations: 0 / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 6.921e-05/0.3289, allocations: 33.69 kB / 1.02 GB, free: 8.48 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/0.329, allocations: 126.7 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.424e-05/0.3291, allocations: 93.86 kB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.3291, allocations: 25.7 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/0.3292, allocations: 80.14 kB / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-06/0.3292, allocations: 0 / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/0.3292, allocations: 13.84 kB / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3294, allocations: 318.8 kB / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.352e-06/0.3294, allocations: 0 / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.444e-06/0.3294, allocations: 3.938 kB / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.52e-05/0.3294, allocations: 79.22 kB / 1.021 GB, free: 7.707 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.02e-05/0.3295, allocations: 75.28 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.752e-05/0.3295, allocations: 37.62 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/0.3296, allocations: 83.22 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.906e-05/0.3296, allocations: 79.28 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.156e-05/0.3297, allocations: 154.5 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.633e-05/0.3297, allocations: 79.28 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001194/0.3299, allocations: 158.5 kB / 1.021 GB, free: 7.043 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.856e-05/0.33, allocations: 76.81 kB / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/0.33, allocations: 79.28 kB / 1.021 GB, free: 6.891 MB / 0.795 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.0002132/0.3302, allocations: 276.3 kB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.561e-05/0.3303, allocations: 101 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.54e-05/0.3303, allocations: 104.1 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.838e-05/0.3304, allocations: 184.2 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000121/0.3306, allocations: 180.3 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-05/0.3306, allocations: 188.2 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.3309, allocations: 401.2 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.907e-05/0.331, allocations: 109 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-05/0.3311, allocations: 112.9 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-05/0.3311, allocations: 176.3 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-05/0.3312, allocations: 184.2 kB / 1.023 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000149/0.3314, allocations: 180.6 kB / 1.023 GB, free: 4.602 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.876e-05/0.3315, allocations: 176.3 kB / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.3316, allocations: 315.7 kB / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.3318, allocations: 182 kB / 1.024 GB, free: 3.887 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.333e-05/0.3319, allocations: 180.3 kB / 1.024 GB, free: 3.703 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.666e-05/0.332, allocations: 109 kB / 1.024 GB, free: 3.59 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.412e-05/0.332, allocations: 184.2 kB / 1.025 GB, free: 3.402 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.284e-05/0.3321, allocations: 101 kB / 1.025 GB, free: 3.297 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.441e-05/0.3321, allocations: 79.28 kB / 1.025 GB, free: 3.219 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3322, allocations: 0 / 1.025 GB, free: 3.219 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002728/0.3324, allocations: 4.094 kB / 1.025 GB, free: 3.215 MB / 0.795 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.0001509/0.3326, allocations: 170.5 kB / 1.025 GB, free: 3.039 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 4.157e-05/0.3326, allocations: 11.92 kB / 1.025 GB, free: 3.027 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3326, allocations: 0 / 1.025 GB, free: 3.027 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.3326, allocations: 0 / 1.025 GB, free: 3.027 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.333, allocations: 463.6 kB / 1.025 GB, free: 2.57 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.3333, allocations: 190 kB / 1.026 GB, free: 2.352 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.3336, allocations: 0.669 MB / 1.026 GB, free: 1.656 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.814e-05/0.3337, allocations: 11.38 kB / 1.026 GB, free: 1.645 MB / 0.795 GB Notification: Performance of SimCode: time 2.8e-07/0.3337, allocations: 4 kB / 1.026 GB, free: 1.641 MB / 0.795 GB Notification: Performance of Templates: time 0.001585/0.3353, allocations: 324.4 kB / 1.027 GB, free: 1.324 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches