Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_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_latest_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.000993/0.0009929, allocations: 92.23 kB / 16.02 MB, free: 80 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.001256/0.001256, allocations: 177.7 kB / 16.92 MB, free: 6.648 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.394/1.394, allocations: 223.3 MB / 241 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.817/2.817, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003688, allocations: 13.94 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3262, allocations: 159.6 MB / 1.059 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0007439/0.3269, allocations: 282.1 kB / 1.06 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 3.886e-05/0.327, allocations: 0 / 1.06 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.34e-05/0.327, allocations: 0 / 1.06 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.68e-05/0.3271, allocations: 0 / 1.06 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.418e-05/0.3271, allocations: 11.88 kB / 1.06 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.22e-05/0.3272, allocations: 4 kB / 1.06 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.428e-05/0.3272, allocations: 4 kB / 1.06 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.884e-05/0.3273, allocations: 0 / 1.06 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.48e-05/0.3273, allocations: 0 / 1.06 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.662e-05/0.3273, allocations: 0 / 1.06 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.3273, allocations: 0 / 1.06 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.168e-06/0.3273, allocations: 0 / 1.06 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.3274, allocations: 4 kB / 1.06 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.3274, allocations: 25.7 kB / 1.06 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.604e-05/0.3274, allocations: 3.984 kB / 1.06 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3275, allocations: 4 kB / 1.06 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3275, allocations: 0 / 1.06 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.3275, allocations: 0 / 1.06 GB, free: 4.602 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.000273/0.3278, allocations: 319.5 kB / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3278, allocations: 8.031 kB / 1.06 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.3278, allocations: 4.922 kB / 1.06 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.328, allocations: 160.4 kB / 1.06 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.328, allocations: 384 / 1.06 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.328, allocations: 4.375 kB / 1.06 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.754e-05/0.3281, allocations: 30.27 kB / 1.06 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3281, allocations: 8.109 kB / 1.06 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.3281, allocations: 3.938 kB / 1.06 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3281, allocations: 0 / 1.06 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.796e-05/0.3282, allocations: 4 kB / 1.06 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.3285, allocations: 375.5 kB / 1.061 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.256e-05/0.3286, allocations: 177.1 kB / 1.061 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.406e-05/0.3286, allocations: 88.08 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.3287, allocations: 75.28 kB / 1.061 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.3287, allocations: 109.8 kB / 1.061 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/0.3287, allocations: 0 / 1.061 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.237e-05/0.3288, allocations: 33.72 kB / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.3289, allocations: 134.7 kB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.372e-05/0.3289, allocations: 89.86 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.329, allocations: 29.7 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.329, allocations: 84.14 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.329, allocations: 3.938 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.707e-05/0.329, allocations: 9.719 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.248e-05/0.3291, allocations: 310.8 kB / 1.062 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.54e-06/0.3291, allocations: 4.062 kB / 1.062 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.088e-06/0.3291, allocations: 4 kB / 1.062 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.628e-05/0.3292, allocations: 75.28 kB / 1.062 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.938e-05/0.3292, allocations: 75.28 kB / 1.062 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.485e-05/0.3293, allocations: 37.62 kB / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.3293, allocations: 80.53 kB / 1.062 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.133e-05/0.3293, allocations: 75.28 kB / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.356e-05/0.3294, allocations: 158.5 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.66e-05/0.3294, allocations: 83.28 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-05/0.3295, allocations: 154.5 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.123e-05/0.3296, allocations: 75.28 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.3296, allocations: 83.22 kB / 1.063 GB, free: 1.461 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.0001056/0.3297, allocations: 268.3 kB / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.492e-05/0.3298, allocations: 105 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.592e-05/0.3298, allocations: 112.1 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.544e-05/0.3299, allocations: 180.2 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-05/0.33, allocations: 176.3 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-05/0.33, allocations: 184.2 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.3302, allocations: 409.2 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.361e-05/0.3303, allocations: 101 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.986e-05/0.3303, allocations: 112.9 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.582e-05/0.3304, allocations: 180.3 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-05/0.3305, allocations: 180.5 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.776e-05/0.3305, allocations: 176.3 kB / 1.065 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.228e-05/0.3306, allocations: 184.3 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.3307, allocations: 311.7 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.832e-05/0.3308, allocations: 182 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.803e-05/0.3309, allocations: 180.3 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.969e-05/0.3309, allocations: 109 kB / 1.066 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.331, allocations: 184.2 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.623e-05/0.331, allocations: 105 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.461e-05/0.3311, allocations: 75.28 kB / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.3311, allocations: 0 / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002415/0.3313, allocations: 0 / 1.066 GB, free: 13.8 MB / 0.8262 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.0001473/0.3315, allocations: 174.6 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.161e-05/0.3315, allocations: 7.938 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3316, allocations: 0 / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.3316, allocations: 0 / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.3319, allocations: 0.5301 MB / 1.067 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000218/0.3322, allocations: 187.6 kB / 1.067 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.3324, allocations: 0.6692 MB / 1.067 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.547e-05/0.3324, allocations: 7.438 kB / 1.067 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.3324, allocations: 0 / 1.067 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of Templates: time 0.001519/0.3339, allocations: 318.9 kB / 1.068 GB, free: 11.84 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches