Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_11_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_11_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.00148/0.00148, allocations: 107 kB / 15.99 MB, free: 6.352 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.001514/0.001514, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.344/1.344, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.574/2.574, allocations: 469.8 MB / 0.7427 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 72.23 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.3001, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.00178/0.3019, allocations: 0.6066 MB / 1.065 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 3.71e-05/0.302, allocations: 4 kB / 1.065 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.553e-05/0.302, allocations: 4 kB / 1.065 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.23e-05/0.302, allocations: 0 / 1.065 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.717e-05/0.3021, allocations: 3.938 kB / 1.065 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.345e-05/0.3021, allocations: 0 / 1.065 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.037e-05/0.3022, allocations: 7.984 kB / 1.065 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.56e-05/0.3022, allocations: 0 / 1.065 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.324e-05/0.3023, allocations: 0 / 1.065 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 1.537e-05/0.3023, allocations: 0 / 1.065 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.3023, allocations: 0 / 1.065 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 3.657e-06/0.3023, allocations: 0 / 1.065 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.3023, allocations: 4 kB / 1.065 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.242e-05/0.3023, allocations: 11.92 kB / 1.065 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 4.573e-05/0.3024, allocations: 4 kB / 1.065 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3024, allocations: 0 / 1.065 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3024, allocations: 0 / 1.065 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3024, allocations: 0 / 1.065 GB, free: 14.46 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.0003368/0.3028, allocations: 311.6 kB / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3028, allocations: 8.031 kB / 1.065 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.3028, allocations: 0.9375 kB / 1.065 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.303, allocations: 164.4 kB / 1.065 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.303, allocations: 8.375 kB / 1.065 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-06/0.303, allocations: 384 / 1.065 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.329e-05/0.3031, allocations: 26.27 kB / 1.065 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3031, allocations: 4.125 kB / 1.065 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3031, allocations: 15.88 kB / 1.065 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.3031, allocations: 3.984 kB / 1.065 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.353e-05/0.3032, allocations: 0 / 1.065 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.3035, allocations: 375.5 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.682e-05/0.3036, allocations: 177.1 kB / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.443e-05/0.3036, allocations: 84.08 kB / 1.066 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.3037, allocations: 75.28 kB / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.984e-05/0.3037, allocations: 113.9 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.3037, allocations: 0 / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 6.975e-05/0.3038, allocations: 29.7 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.3039, allocations: 126.7 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.506e-05/0.304, allocations: 97.86 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.304, allocations: 25.7 kB / 1.066 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.304, allocations: 80.14 kB / 1.066 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-06/0.3041, allocations: 0 / 1.066 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.3041, allocations: 13.7 kB / 1.066 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3042, allocations: 319 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.035e-05/0.3042, allocations: 3.938 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.696e-06/0.3042, allocations: 0 / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.325e-05/0.3043, allocations: 75.28 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.761e-05/0.3043, allocations: 75.28 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.489e-05/0.3044, allocations: 37.64 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.33e-05/0.3044, allocations: 83.22 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.289e-05/0.3044, allocations: 75.28 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.725e-05/0.3045, allocations: 158.5 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.081e-05/0.3046, allocations: 83.27 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.419e-05/0.3046, allocations: 154.5 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.619e-05/0.3047, allocations: 75.28 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.3047, allocations: 75.28 kB / 1.068 GB, free: 11.34 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.0001289/0.3049, allocations: 278.5 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.497e-05/0.3049, allocations: 105 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.215e-05/0.305, allocations: 108.1 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.666e-05/0.3051, allocations: 184.2 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-05/0.3052, allocations: 176.3 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.663e-05/0.3052, allocations: 184.2 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.3055, allocations: 409.2 kB / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.53e-05/0.3055, allocations: 105 kB / 1.069 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.333e-05/0.3056, allocations: 104.9 kB / 1.069 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.379e-05/0.3057, allocations: 176.6 kB / 1.069 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.087e-05/0.3057, allocations: 184.2 kB / 1.07 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.837e-05/0.3058, allocations: 188.2 kB / 1.07 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-05/0.3059, allocations: 180.3 kB / 1.07 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.3061, allocations: 315.5 kB / 1.07 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.482e-05/0.3061, allocations: 186 kB / 1.07 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.562e-05/0.3062, allocations: 180.3 kB / 1.071 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.539e-05/0.3063, allocations: 109 kB / 1.071 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.7e-05/0.3064, allocations: 180.2 kB / 1.071 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.3064, allocations: 101 kB / 1.071 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.581e-05/0.3065, allocations: 87.27 kB / 1.071 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3065, allocations: 0 / 1.071 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002784/0.3068, allocations: 0 / 1.071 GB, free: 7.648 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.000147/0.3069, allocations: 174.6 kB / 1.071 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 4.631e-05/0.307, allocations: 7.938 kB / 1.071 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.307, allocations: 0 / 1.071 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.307, allocations: 0 / 1.071 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.3074, allocations: 457.6 kB / 1.072 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002346/0.3076, allocations: 188.4 kB / 1.072 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.3079, allocations: 0.6729 MB / 1.072 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.015e-05/0.308, allocations: 11.38 kB / 1.072 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.308, allocations: 0 / 1.072 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of Templates: time 0.001708/0.3097, allocations: 315.9 kB / 1.073 GB, free: 5.773 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches