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.001475/0.001475, allocations: 108 kB / 15.6 MB, free: 132 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.001766/0.001766, allocations: 192 kB / 16.53 MB, free: 6.391 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.476/1.476, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.641/2.641, allocations: 437 MB / 0.7103 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 71.88 kB / 0.8692 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7245/0.726, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001848/0.7279, allocations: 0.5821 MB / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 4.181e-05/0.728, allocations: 3.938 kB / 1.018 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.737e-05/0.728, allocations: 0 / 1.018 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.209e-05/0.728, allocations: 4 kB / 1.018 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.888e-05/0.7281, allocations: 0 / 1.018 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.698e-05/0.7281, allocations: 7.875 kB / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.885e-05/0.7282, allocations: 0 / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.935e-05/0.7282, allocations: 0 / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.467e-05/0.7283, allocations: 4 kB / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.263e-05/0.7283, allocations: 4 kB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.7283, allocations: 0 / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.657e-06/0.7283, allocations: 4 kB / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.7283, allocations: 0 / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.7284, allocations: 3.984 kB / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.344e-05/0.7284, allocations: 3.938 kB / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.7284, allocations: 4 kB / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7284, allocations: 0 / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.7284, allocations: 0 / 1.018 GB, free: 1.914 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.0002984/0.7287, allocations: 307.5 kB / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.7288, allocations: 16.02 kB / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.74e-05/0.7288, allocations: 4.938 kB / 1.018 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.7289, allocations: 164.4 kB / 1.018 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.729, allocations: 384 / 1.018 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.729, allocations: 4.312 kB / 1.018 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.847e-05/0.7291, allocations: 30.27 kB / 1.018 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.7291, allocations: 192 / 1.018 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.7291, allocations: 3.938 kB / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.7291, allocations: 0 / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.652e-05/0.7291, allocations: 4 kB / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.7294, allocations: 383.5 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.767e-05/0.7295, allocations: 177 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.067e-05/0.7295, allocations: 80.14 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.7295, allocations: 75.28 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.7296, allocations: 113.8 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.7296, allocations: 0 / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 7.218e-05/0.7297, allocations: 29.69 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.7297, allocations: 134.6 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.753e-05/0.7298, allocations: 89.86 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.7298, allocations: 25.7 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.833e-05/0.7299, allocations: 84.14 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.7299, allocations: 128 / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.7299, allocations: 17.72 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.975e-05/0.73, allocations: 310.8 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.967e-06/0.73, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.006e-06/0.73, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.717e-05/0.7301, allocations: 79.27 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.951e-05/0.7301, allocations: 79.28 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.217e-05/0.7301, allocations: 33.58 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/0.7302, allocations: 79.28 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.648e-05/0.7302, allocations: 91.16 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.43e-05/0.7303, allocations: 150.6 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.541e-05/0.7303, allocations: 83.25 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.278e-05/0.7304, allocations: 154.6 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.132e-05/0.7304, allocations: 79.28 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.7305, allocations: 83.2 kB / 1.021 GB, free: 14.77 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 9.624e-05/0.7306, allocations: 264.3 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-05/0.7306, allocations: 105 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.005e-05/0.7307, allocations: 108 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.146e-05/0.7307, allocations: 180.3 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.668e-05/0.7308, allocations: 180.2 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.313e-05/0.7309, allocations: 188.2 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.7311, allocations: 397.2 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.863e-05/0.7311, allocations: 112.9 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.265e-05/0.7311, allocations: 109 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.915e-05/0.7312, allocations: 180.3 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-05/0.7312, allocations: 184.2 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-05/0.7313, allocations: 180.2 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.847e-05/0.7314, allocations: 184.2 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.7315, allocations: 311.7 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.119e-05/0.7315, allocations: 182.5 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.302e-05/0.7316, allocations: 184.2 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.7317, allocations: 104.9 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/0.7318, allocations: 184.3 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/0.7318, allocations: 108.9 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.938e-05/0.7318, allocations: 75.28 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7318, allocations: 0 / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002575/0.7321, allocations: 8.094 kB / 1.024 GB, free: 11.09 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.0001423/0.7323, allocations: 174.5 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 3.925e-05/0.7323, allocations: 0 / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7323, allocations: 0 / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.825e-06/0.7323, allocations: 4 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.7327, allocations: 463.6 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002095/0.7329, allocations: 164.2 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.7331, allocations: 0.669 MB / 1.026 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.959e-06/0.7331, allocations: 7.938 kB / 1.026 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.895e-05/0.7331, allocations: 11.42 kB / 1.026 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.7332, allocations: 0 / 1.026 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of Templates: time 0.001899/0.7351, allocations: 164.9 kB / 1.026 GB, free: 9.391 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