Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 196.1 kB / 16.79 MB, free: 6.809 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.416/1.416, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.709/2.709, allocations: 437 MB / 0.7106 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 63.91 kB / 0.8692 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7274/0.7289, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002874/0.7319, allocations: 0.6247 MB / 1.018 GB, free: 2.176 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 5.729e-05/0.732, allocations: 0 / 1.018 GB, free: 2.176 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.121e-05/0.732, allocations: 11.88 kB / 1.018 GB, free: 2.164 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.803e-05/0.7321, allocations: 0 / 1.018 GB, free: 2.164 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.472e-05/0.7321, allocations: 3.938 kB / 1.018 GB, free: 2.16 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.809e-05/0.7321, allocations: 0 / 1.018 GB, free: 2.16 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.645e-05/0.7322, allocations: 4 kB / 1.018 GB, free: 2.156 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.707e-05/0.7323, allocations: 8 kB / 1.018 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.695e-05/0.7323, allocations: 0 / 1.018 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.197e-05/0.7323, allocations: 0 / 1.018 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.7324, allocations: 0 / 1.018 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.711e-06/0.7324, allocations: 0 / 1.018 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.7324, allocations: 0 / 1.018 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.163e-05/0.7324, allocations: 0 / 1.018 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.643e-05/0.7325, allocations: 3.984 kB / 1.018 GB, free: 2.145 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.7325, allocations: 0 / 1.018 GB, free: 2.145 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.023e-06/0.7325, allocations: 7.938 kB / 1.018 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.7325, allocations: 4 kB / 1.018 GB, free: 2.133 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.0004025/0.7329, allocations: 307.5 kB / 1.018 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.733, allocations: 12.09 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.733, allocations: 4.922 kB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.7332, allocations: 164.4 kB / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.7332, allocations: 384 / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.7332, allocations: 384 / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.7334, allocations: 30.27 kB / 1.018 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.7334, allocations: 8.125 kB / 1.018 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.7334, allocations: 3.938 kB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.7334, allocations: 0 / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.744e-05/0.7334, allocations: 0 / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.7338, allocations: 379.5 kB / 1.019 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.734, allocations: 173.1 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.48e-05/0.734, allocations: 88.08 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.066e-05/0.7341, allocations: 75.28 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.971e-05/0.7342, allocations: 109.8 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.7342, allocations: 0 / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 9.153e-05/0.7343, allocations: 29.69 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.834e-05/0.7344, allocations: 126.7 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.7345, allocations: 97.86 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.7345, allocations: 25.7 kB / 1.02 GB, free: 336 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/0.7346, allocations: 80.14 kB / 1.02 GB, free: 252 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.7346, allocations: 4 kB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.7346, allocations: 13.72 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.7348, allocations: 310.8 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-06/0.7348, allocations: 3.938 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.187e-06/0.7348, allocations: 3.938 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.083e-05/0.7348, allocations: 79.41 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-05/0.7349, allocations: 75.28 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.374e-05/0.735, allocations: 41.61 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.351e-05/0.735, allocations: 79.28 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.912e-05/0.7351, allocations: 79.28 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.311e-05/0.7352, allocations: 154.5 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.823e-05/0.7352, allocations: 75.28 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.651e-05/0.7353, allocations: 170.5 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.65e-05/0.7354, allocations: 79.28 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.927e-05/0.7355, allocations: 75.28 kB / 1.021 GB, free: 15 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.0001492/0.7356, allocations: 268.3 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.945e-05/0.7357, allocations: 101 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.928e-05/0.7358, allocations: 112.1 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-05/0.7359, allocations: 184.2 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.618e-05/0.736, allocations: 180.2 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.347e-05/0.7361, allocations: 180.2 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.7364, allocations: 409.2 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.736e-05/0.7365, allocations: 113 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-05/0.7365, allocations: 104.9 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-05/0.7366, allocations: 180.3 kB / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.231e-05/0.7367, allocations: 180.2 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.844e-05/0.7368, allocations: 176.3 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.603e-05/0.7369, allocations: 176.3 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.737, allocations: 320.1 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.7372, allocations: 186 kB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.385e-05/0.7373, allocations: 176.3 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.7374, allocations: 109 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-05/0.7375, allocations: 188.2 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.747e-05/0.7375, allocations: 105 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.206e-05/0.7376, allocations: 75.28 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7376, allocations: 0 / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003668/0.738, allocations: 0 / 1.024 GB, free: 11.33 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.000192/0.7382, allocations: 180.9 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.765e-05/0.7382, allocations: 8.016 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7383, allocations: 4 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.7383, allocations: 0 / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005518/0.7388, allocations: 0.5263 MB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/0.7391, allocations: 179.6 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.7395, allocations: 0.6731 MB / 1.026 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/0.7395, allocations: 7.438 kB / 1.026 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.7395, allocations: 3.938 kB / 1.026 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.002148/0.7417, allocations: 315.8 kB / 1.026 GB, free: 9.371 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches