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.001876/0.001876, allocations: 108 kB / 15.61 MB, free: 152 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.002705/0.002705, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.588/1.588, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.889/2.889, allocations: 437 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 67.89 kB / 0.8693 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7258/0.7279, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001914/0.7298, allocations: 0.576 MB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 4.07e-05/0.7299, allocations: 0 / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.105e-05/0.7299, allocations: 3.938 kB / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.281e-05/0.73, allocations: 3.938 kB / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.042e-05/0.73, allocations: 0 / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.748e-05/0.73, allocations: 0 / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.724e-05/0.7301, allocations: 11.98 kB / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.542e-05/0.7302, allocations: 0 / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.474e-05/0.7302, allocations: 0 / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.883e-05/0.7302, allocations: 7.984 kB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.7302, allocations: 0 / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.146e-06/0.7302, allocations: 4 kB / 1.018 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.7302, allocations: 0 / 1.018 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.895e-05/0.7303, allocations: 0 / 1.018 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.724e-05/0.7303, allocations: 3.938 kB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.7303, allocations: 0 / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7303, allocations: 0 / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.7303, allocations: 0 / 1.018 GB, free: 1.895 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.0005436/0.7309, allocations: 319.5 kB / 1.018 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.7309, allocations: 12.03 kB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.583e-05/0.731, allocations: 4.938 kB / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.7311, allocations: 164.4 kB / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.7311, allocations: 384 / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-06/0.7311, allocations: 384 / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.261e-05/0.7312, allocations: 34.2 kB / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.7312, allocations: 192 / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.7313, allocations: 3.938 kB / 1.018 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.7313, allocations: 0 / 1.018 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.335e-05/0.7313, allocations: 4 kB / 1.018 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/0.7317, allocations: 383.5 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.732, allocations: 177 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.944e-05/0.732, allocations: 80.14 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.74e-05/0.7321, allocations: 79.28 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.147e-05/0.7321, allocations: 109.9 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.7321, allocations: 0 / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 7.284e-05/0.7322, allocations: 29.69 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.845e-05/0.7323, allocations: 126.7 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.7324, allocations: 101.8 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.7324, allocations: 25.7 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.7325, allocations: 84.27 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-06/0.7325, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/0.7325, allocations: 17.66 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.7327, allocations: 310.8 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.657e-06/0.7327, allocations: 0 / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.569e-06/0.7327, allocations: 3.984 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.315e-05/0.7327, allocations: 75.28 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.043e-05/0.7328, allocations: 79.22 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.272e-05/0.7328, allocations: 37.64 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.294e-05/0.7329, allocations: 79.28 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.281e-05/0.7329, allocations: 79.22 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-05/0.733, allocations: 158.6 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.399e-05/0.7331, allocations: 79.31 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.185e-05/0.7331, allocations: 154.5 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.683e-05/0.7332, allocations: 83.27 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.7333, allocations: 79.22 kB / 1.021 GB, free: 14.75 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.0001413/0.7334, allocations: 264.3 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.725e-05/0.7335, allocations: 105 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.7336, allocations: 108 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.547e-05/0.7337, allocations: 180.3 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.614e-05/0.7338, allocations: 184.2 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001903/0.734, allocations: 180.2 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000323/0.7343, allocations: 405.2 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.377e-05/0.7344, allocations: 108.9 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.974e-05/0.7344, allocations: 101 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-05/0.7345, allocations: 180.3 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001898/0.7347, allocations: 184.2 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-05/0.7348, allocations: 176.3 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001162/0.7349, allocations: 188.2 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.7351, allocations: 307.8 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.7352, allocations: 182.4 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.7353, allocations: 188.2 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.84e-05/0.7354, allocations: 104.9 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.7356, allocations: 180.3 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.517e-05/0.7356, allocations: 105 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001467/0.7358, allocations: 83.28 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7358, allocations: 3.938 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003035/0.7361, allocations: 0 / 1.024 GB, free: 11.08 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.0001509/0.7363, allocations: 178.5 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.037e-05/0.7363, allocations: 4 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7363, allocations: 0 / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.7363, allocations: 0 / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.7367, allocations: 463.7 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002157/0.737, allocations: 168.1 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/0.7375, allocations: 0.669 MB / 1.026 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.318e-06/0.7375, allocations: 3.984 kB / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.846e-05/0.7376, allocations: 7.438 kB / 1.026 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.7376, allocations: 3.938 kB / 1.026 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of Templates: time 0.002105/0.7397, allocations: 172.9 kB / 1.026 GB, free: 9.363 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