Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001913/0.001913, allocations: 194 kB / 16.14 MB, free: 6.652 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.517/1.517, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.963/2.963, allocations: 461.9 MB / 0.7342 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 69.03 kB / 0.8984 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3983, allocations: 157.4 MB / 1.052 GB, free: 8.773 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002093/0.4005, allocations: 0.6027 MB / 1.053 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 4.217e-05/0.4005, allocations: 0 / 1.053 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.454e-05/0.4006, allocations: 3.938 kB / 1.053 GB, free: 8.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/0.4006, allocations: 4 kB / 1.053 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.253e-05/0.4007, allocations: 0 / 1.053 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.334e-05/0.4007, allocations: 0 / 1.053 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.345e-05/0.4007, allocations: 0 / 1.053 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.793e-05/0.4008, allocations: 0 / 1.053 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.939e-05/0.4008, allocations: 4 kB / 1.053 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.986e-05/0.4009, allocations: 3.984 kB / 1.053 GB, free: 8.152 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.4009, allocations: 4 kB / 1.053 GB, free: 8.148 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.198e-06/0.4009, allocations: 0 / 1.053 GB, free: 8.148 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.095e-05/0.4009, allocations: 4 kB / 1.053 GB, free: 8.145 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.401, allocations: 3.984 kB / 1.053 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.218e-05/0.401, allocations: 3.938 kB / 1.053 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.401, allocations: 0 / 1.053 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.212e-06/0.401, allocations: 0 / 1.053 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.4011, allocations: 4 kB / 1.053 GB, free: 8.133 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.0003414/0.4014, allocations: 311.5 kB / 1.053 GB, free: 7.777 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.4015, allocations: 12.09 kB / 1.053 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.4015, allocations: 4.938 kB / 1.053 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.4016, allocations: 164.3 kB / 1.053 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.4016, allocations: 384 / 1.053 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.4017, allocations: 4.375 kB / 1.053 GB, free: 7.559 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.222e-05/0.4018, allocations: 34.2 kB / 1.053 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.4018, allocations: 192 / 1.053 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.4018, allocations: 3.938 kB / 1.053 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4018, allocations: 0 / 1.053 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.618e-05/0.4018, allocations: 0 / 1.053 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.4022, allocations: 387.5 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.952e-05/0.4023, allocations: 169.1 kB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.29e-05/0.4023, allocations: 84.17 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.4023, allocations: 75.28 kB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.069e-05/0.4024, allocations: 113.8 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.4024, allocations: 0 / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 9.006e-05/0.4025, allocations: 37.66 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.4026, allocations: 130.7 kB / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.479e-05/0.4027, allocations: 93.86 kB / 1.054 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.4027, allocations: 25.7 kB / 1.054 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.683e-05/0.4027, allocations: 80.14 kB / 1.054 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-06/0.4028, allocations: 4.125 kB / 1.054 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.4028, allocations: 13.72 kB / 1.054 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.4029, allocations: 314.8 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.11e-06/0.403, allocations: 0 / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.807e-06/0.403, allocations: 0 / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.94e-05/0.403, allocations: 79.27 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.745e-05/0.4031, allocations: 79.22 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.067e-05/0.4031, allocations: 37.58 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/0.4032, allocations: 83.28 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-05/0.4032, allocations: 75.28 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.768e-05/0.4033, allocations: 154.6 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.509e-05/0.4033, allocations: 79.22 kB / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.564e-05/0.4034, allocations: 150.6 kB / 1.055 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.062e-05/0.4035, allocations: 87.2 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/0.4035, allocations: 83.28 kB / 1.056 GB, free: 4.988 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.0001328/0.4037, allocations: 260.3 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/0.4038, allocations: 105 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.341e-05/0.4038, allocations: 112 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.913e-05/0.4039, allocations: 176.3 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.501e-05/0.404, allocations: 192.2 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-05/0.4041, allocations: 176.5 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.4043, allocations: 401.2 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.219e-05/0.4044, allocations: 108.9 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.641e-05/0.4044, allocations: 113 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.229e-05/0.4045, allocations: 184.2 kB / 1.057 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.179e-05/0.4046, allocations: 180.3 kB / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-05/0.4046, allocations: 180.2 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.831e-05/0.4047, allocations: 184.2 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.4048, allocations: 307.7 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.247e-05/0.4049, allocations: 182.1 kB / 1.058 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.158e-05/0.405, allocations: 184.2 kB / 1.058 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.4051, allocations: 104.9 kB / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/0.4052, allocations: 176.3 kB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.785e-05/0.4052, allocations: 112.9 kB / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.091e-05/0.4053, allocations: 75.28 kB / 1.059 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4053, allocations: 4.094 kB / 1.059 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002774/0.4055, allocations: 0 / 1.059 GB, free: 1.324 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.0001495/0.4057, allocations: 178.5 kB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 3.17e-05/0.4057, allocations: 0 / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.4057, allocations: 0 / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.4058, allocations: 0 / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.4062, allocations: 0.5354 MB / 1.06 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000207/0.4064, allocations: 153.9 kB / 1.06 GB, free: 428 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.4067, allocations: 0.6692 MB / 1.06 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.051e-05/0.4067, allocations: 3.984 kB / 1.06 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.576e-05/0.4067, allocations: 7.438 kB / 1.06 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of SimCode: time 3.5e-07/0.4067, allocations: 0 / 1.06 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of Templates: time 0.001901/0.4086, allocations: 168.9 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches