Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_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_latest_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.001206/0.001206, allocations: 100.1 kB / 15.88 MB, free: 12 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.001316/0.001316, allocations: 198.7 kB / 16.79 MB, free: 6.809 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.373/1.373, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.713/2.713, allocations: 461.8 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 72.69 kB / 0.8991 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2972, allocations: 157.4 MB / 1.053 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001896/0.2991, allocations: 0.6431 MB / 1.053 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 3.997e-05/0.2992, allocations: 4 kB / 1.053 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.347e-05/0.2992, allocations: 0 / 1.053 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.376e-05/0.2993, allocations: 0 / 1.053 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.852e-05/0.2993, allocations: 3.938 kB / 1.053 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.488e-05/0.2994, allocations: 7.922 kB / 1.053 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.006e-05/0.2994, allocations: 4 kB / 1.053 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.174e-05/0.2995, allocations: 0 / 1.053 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.379e-05/0.2995, allocations: 4 kB / 1.053 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.634e-05/0.2995, allocations: 0 / 1.053 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.2995, allocations: 0 / 1.053 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.867e-06/0.2995, allocations: 0 / 1.053 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.2996, allocations: 0 / 1.053 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.2996, allocations: 7.938 kB / 1.053 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.706e-05/0.2996, allocations: 4 kB / 1.053 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2996, allocations: 0 / 1.053 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2997, allocations: 0 / 1.053 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.2997, allocations: 0 / 1.053 GB, free: 7.535 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.0002889/0.3, allocations: 319.5 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3, allocations: 8.031 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.3, allocations: 0.9375 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.3001, allocations: 160.4 kB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.3002, allocations: 4.375 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.3002, allocations: 384 / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.968e-05/0.3003, allocations: 26.27 kB / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3003, allocations: 192 / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.3003, allocations: 3.938 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3003, allocations: 15.91 kB / 1.054 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.722e-05/0.3003, allocations: 8 kB / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.3006, allocations: 375.6 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.18e-05/0.3007, allocations: 173.1 kB / 1.054 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.042e-05/0.3008, allocations: 80.14 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.3008, allocations: 83.22 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/0.3008, allocations: 109.9 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3009, allocations: 0 / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.055e-05/0.3009, allocations: 29.7 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.301, allocations: 126.7 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.954e-05/0.3011, allocations: 97.86 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.3011, allocations: 29.83 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.648e-05/0.3011, allocations: 80.14 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.148e-06/0.3011, allocations: 3.984 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/0.3012, allocations: 13.7 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.253e-05/0.3013, allocations: 310.8 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.562e-06/0.3013, allocations: 4 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.488e-06/0.3013, allocations: 3.938 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.119e-05/0.3013, allocations: 75.28 kB / 1.055 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-05/0.3013, allocations: 83.22 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.334e-05/0.3014, allocations: 33.64 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/0.3014, allocations: 84.84 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.3015, allocations: 79.22 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.548e-05/0.3015, allocations: 154.5 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.103e-05/0.3016, allocations: 79.27 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.596e-05/0.3016, allocations: 158.5 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.894e-05/0.3017, allocations: 79.28 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.3017, allocations: 75.28 kB / 1.056 GB, free: 4.395 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 9.732e-05/0.3018, allocations: 272.3 kB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.205e-05/0.3019, allocations: 101 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.187e-05/0.3019, allocations: 108.1 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.69e-05/0.302, allocations: 184.2 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.307e-05/0.302, allocations: 180.3 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.08e-05/0.3021, allocations: 188.2 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.3023, allocations: 401.2 kB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.972e-05/0.3023, allocations: 109 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.3024, allocations: 104.9 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.62e-05/0.3024, allocations: 180.6 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-05/0.3025, allocations: 184.2 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.068e-05/0.3025, allocations: 184.2 kB / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.165e-05/0.3026, allocations: 180.3 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.3027, allocations: 311.7 kB / 1.059 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.184e-05/0.3028, allocations: 186 kB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.155e-05/0.3028, allocations: 176.3 kB / 1.059 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.946e-05/0.3029, allocations: 105 kB / 1.059 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.303, allocations: 180.2 kB / 1.059 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.303, allocations: 105 kB / 1.06 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.965e-05/0.3031, allocations: 87.27 kB / 1.06 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3031, allocations: 0 / 1.06 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002575/0.3033, allocations: 0 / 1.06 GB, free: 0.7227 MB / 0.8106 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.0001524/0.3035, allocations: 170.5 kB / 1.06 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 3.899e-05/0.3035, allocations: 7.938 kB / 1.06 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3035, allocations: 0 / 1.06 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.3035, allocations: 4.094 kB / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.3039, allocations: 0.5201 MB / 1.06 GB, free: 8 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002237/0.3041, allocations: 183.6 kB / 1.06 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.3044, allocations: 0.677 MB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.58e-05/0.3044, allocations: 7.438 kB / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.3044, allocations: 4 kB / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of Templates: time 0.001388/0.3058, allocations: 315.9 kB / 1.061 GB, free: 14.77 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches