Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00146/0.00146, allocations: 107 kB / 15.99 MB, free: 6.359 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.001418/0.001418, allocations: 193.8 kB / 16.91 MB, free: 6.195 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.364/1.364, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.576/2.576, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 71.95 kB / 0.9088 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2905, allocations: 159.1 MB / 1.064 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001846/0.2924, allocations: 0.6276 MB / 1.065 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 3.412e-05/0.2924, allocations: 7.938 kB / 1.065 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.549e-05/0.2925, allocations: 0 / 1.065 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.776e-05/0.2925, allocations: 0 / 1.065 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.32e-05/0.2925, allocations: 0 / 1.065 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.301e-05/0.2926, allocations: 7.984 kB / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.13e-05/0.2926, allocations: 0 / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.103e-05/0.2927, allocations: 4 kB / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.382e-05/0.2927, allocations: 7.922 kB / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 1.551e-05/0.2927, allocations: 4 kB / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.2927, allocations: 0 / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 3.647e-06/0.2927, allocations: 0 / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.2928, allocations: 4 kB / 1.065 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.475e-05/0.2928, allocations: 3.938 kB / 1.065 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 3.423e-05/0.2928, allocations: 0 / 1.065 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2928, allocations: 0 / 1.065 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2928, allocations: 0 / 1.065 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.2928, allocations: 0 / 1.065 GB, free: 14.4 MB / 0.8419 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.0003107/0.2932, allocations: 315.6 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.2932, allocations: 12.03 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.014e-05/0.2932, allocations: 0.9375 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.2933, allocations: 164.3 kB / 1.065 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.2934, allocations: 384 / 1.065 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.2934, allocations: 4.375 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.337e-05/0.2935, allocations: 30.27 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2935, allocations: 4.172 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.2935, allocations: 3.938 kB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.2935, allocations: 4 kB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.153e-05/0.2935, allocations: 0 / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.2938, allocations: 379.5 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.682e-05/0.2939, allocations: 173 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.179e-05/0.294, allocations: 80.17 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.294, allocations: 83.28 kB / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.21e-05/0.2941, allocations: 109.9 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.2941, allocations: 0 / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 7.325e-05/0.2942, allocations: 33.64 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.2942, allocations: 126.7 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.013e-05/0.2943, allocations: 97.86 kB / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.2943, allocations: 25.7 kB / 1.066 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.51e-05/0.2944, allocations: 84.12 kB / 1.066 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-06/0.2944, allocations: 0 / 1.066 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.2944, allocations: 17.66 kB / 1.066 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.2945, allocations: 314.8 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.587e-06/0.2946, allocations: 0 / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.474e-06/0.2946, allocations: 0 / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.374e-05/0.2946, allocations: 75.28 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.857e-05/0.2946, allocations: 79.41 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.109e-05/0.2947, allocations: 33.64 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.717e-05/0.2947, allocations: 79.28 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.002e-05/0.2948, allocations: 79.22 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.643e-05/0.2949, allocations: 158.5 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.047e-05/0.2949, allocations: 83.2 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.839e-05/0.295, allocations: 154.5 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.523e-05/0.295, allocations: 83.28 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.2951, allocations: 83.22 kB / 1.068 GB, free: 11.25 MB / 0.8419 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.0001199/0.2952, allocations: 260.3 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.167e-05/0.2953, allocations: 101 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.543e-05/0.2953, allocations: 116 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.169e-05/0.2954, allocations: 180.3 kB / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.523e-05/0.2955, allocations: 184.2 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-05/0.2956, allocations: 180.2 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.2958, allocations: 405.2 kB / 1.069 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.542e-05/0.2959, allocations: 108.9 kB / 1.069 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.27e-05/0.2959, allocations: 105 kB / 1.069 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.2e-05/0.296, allocations: 184.5 kB / 1.069 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.81e-05/0.2961, allocations: 188.2 kB / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.004e-05/0.2961, allocations: 176.3 kB / 1.07 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.326e-05/0.2962, allocations: 184.2 kB / 1.07 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.2964, allocations: 315.6 kB / 1.07 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.693e-05/0.2965, allocations: 182.1 kB / 1.07 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.685e-05/0.2966, allocations: 180.3 kB / 1.071 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.553e-05/0.2966, allocations: 104.9 kB / 1.071 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/0.2967, allocations: 176.3 kB / 1.071 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.57e-05/0.2968, allocations: 112.9 kB / 1.071 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.31e-05/0.2968, allocations: 83.27 kB / 1.071 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2968, allocations: 0 / 1.071 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002496/0.2971, allocations: 0 / 1.071 GB, free: 7.578 MB / 0.8419 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.0001487/0.2972, allocations: 178.5 kB / 1.071 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 3.17e-05/0.2973, allocations: 0 / 1.071 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.2973, allocations: 0 / 1.071 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.2973, allocations: 4.094 kB / 1.071 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.2977, allocations: 466 kB / 1.072 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002069/0.2979, allocations: 182 kB / 1.072 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.2982, allocations: 0.669 MB / 1.072 GB, free: 6.023 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.484e-05/0.2982, allocations: 7.438 kB / 1.072 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.2982, allocations: 4 kB / 1.072 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of Templates: time 0.001485/0.2997, allocations: 319.9 kB / 1.073 GB, free: 5.703 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches