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.009306/0.009312, allocations: 101.5 kB / 15.73 MB, free: 6.047 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.001456/0.001456, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.539/1.539, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.038/3.038, allocations: 461.9 MB / 0.7347 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 67.89 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4388/0.4402, allocations: 157.4 MB / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002473/0.4427, allocations: 0.5361 MB / 1.208 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 6.419e-05/0.4428, allocations: 0 / 1.208 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.226e-05/0.4429, allocations: 0 / 1.208 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.132e-05/0.443, allocations: 4 kB / 1.208 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.987e-05/0.443, allocations: 3.938 kB / 1.208 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.981e-05/0.4431, allocations: 0 / 1.208 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.388e-05/0.4432, allocations: 8 kB / 1.208 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.411e-05/0.4433, allocations: 0 / 1.208 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.241e-05/0.4433, allocations: 0 / 1.208 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.146e-05/0.4434, allocations: 0 / 1.208 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.4434, allocations: 3.938 kB / 1.208 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.791e-06/0.4434, allocations: 0 / 1.208 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.62e-05/0.4434, allocations: 7.984 kB / 1.208 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.4435, allocations: 0 / 1.208 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.4436, allocations: 11.92 kB / 1.208 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4436, allocations: 3.938 kB / 1.208 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.198e-06/0.4436, allocations: 0 / 1.208 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.4436, allocations: 0 / 1.208 GB, free: 9.07 MB / 0.9669 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.000465/0.4441, allocations: 315.7 kB / 1.209 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.306e-05/0.4442, allocations: 8.625 kB / 1.209 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.4442, allocations: 0.9375 kB / 1.209 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.4444, allocations: 168.4 kB / 1.209 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.4444, allocations: 384 / 1.209 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.4445, allocations: 4.375 kB / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.4446, allocations: 26.27 kB / 1.209 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.4446, allocations: 192 / 1.209 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.4446, allocations: 7.938 kB / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4446, allocations: 0 / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.332e-05/0.4447, allocations: 0 / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004603/0.4451, allocations: 387.4 kB / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.4453, allocations: 173.1 kB / 1.209 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.645e-05/0.4453, allocations: 84.14 kB / 1.209 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.4454, allocations: 75.28 kB / 1.209 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.102e-05/0.4454, allocations: 109.9 kB / 1.21 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.123e-06/0.4454, allocations: 0 / 1.21 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0001007/0.4455, allocations: 33.64 kB / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.043e-05/0.4456, allocations: 130.7 kB / 1.21 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.4457, allocations: 97.86 kB / 1.21 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.4458, allocations: 25.7 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.723e-05/0.4458, allocations: 80.14 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-06/0.4458, allocations: 0 / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.4459, allocations: 9.719 kB / 1.21 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.446, allocations: 319 kB / 1.21 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.82e-06/0.446, allocations: 0 / 1.21 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.62e-06/0.446, allocations: 0 / 1.21 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.818e-05/0.4461, allocations: 75.28 kB / 1.21 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.847e-05/0.4461, allocations: 75.28 kB / 1.21 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.332e-05/0.4462, allocations: 45.5 kB / 1.21 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.674e-05/0.4462, allocations: 79.28 kB / 1.211 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.554e-05/0.4463, allocations: 75.28 kB / 1.211 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.832e-05/0.4463, allocations: 166.5 kB / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.956e-05/0.4464, allocations: 79.28 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.634e-05/0.4464, allocations: 154.5 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.217e-05/0.4465, allocations: 79.22 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.4466, allocations: 75.28 kB / 1.211 GB, free: 5.938 MB / 0.9669 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.00013/0.4467, allocations: 272.3 kB / 1.211 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/0.4468, allocations: 108.9 kB / 1.211 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.591e-05/0.4468, allocations: 104.1 kB / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.595e-05/0.4469, allocations: 180.8 kB / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.497e-05/0.4469, allocations: 184.2 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.087e-05/0.447, allocations: 180.2 kB / 1.212 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.4472, allocations: 413.1 kB / 1.213 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.48e-05/0.4473, allocations: 101.3 kB / 1.213 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.498e-05/0.4473, allocations: 105 kB / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.772e-05/0.4474, allocations: 184.2 kB / 1.213 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-05/0.4474, allocations: 180.3 kB / 1.213 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.516e-05/0.4475, allocations: 184.2 kB / 1.213 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.393e-05/0.4476, allocations: 180.3 kB / 1.213 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.4478, allocations: 307.7 kB / 1.214 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.397e-05/0.4478, allocations: 178.1 kB / 1.214 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/0.4479, allocations: 188.2 kB / 1.214 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.007e-05/0.448, allocations: 109 kB / 1.214 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.523e-05/0.4481, allocations: 184.2 kB / 1.214 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.753e-05/0.4481, allocations: 101 kB / 1.214 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.563e-05/0.4482, allocations: 79.28 kB / 1.214 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4482, allocations: 0 / 1.214 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002466/0.4484, allocations: 0 / 1.214 GB, free: 2.27 MB / 0.9669 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.000157/0.4486, allocations: 176.2 kB / 1.215 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.344e-05/0.4487, allocations: 15.98 kB / 1.215 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4487, allocations: 0 / 1.215 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.396e-06/0.4487, allocations: 3.938 kB / 1.215 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.449, allocations: 455.6 kB / 1.215 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002752/0.4493, allocations: 160.2 kB / 1.215 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.4496, allocations: 0.6767 MB / 1.216 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.032e-05/0.4496, allocations: 0 / 1.216 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.099e-05/0.4496, allocations: 7.438 kB / 1.216 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.4496, allocations: 0 / 1.216 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of Templates: time 0.00248/0.4521, allocations: 176.7 kB / 1.216 GB, free: 0.5547 MB / 0.9669 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