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.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.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.001702/0.001702, allocations: 108.1 kB / 16.37 MB, free: 6.477 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.001838/0.001838, allocations: 196.4 kB / 17.31 MB, free: 5.824 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.571/2.571, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 68.2 kB / 0.8774 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3971, allocations: 153 MB / 1.027 GB, free: 2.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001786/0.3989, allocations: 0.5442 MB / 1.027 GB, free: 1.48 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 4.281e-05/0.399, allocations: 4 kB / 1.027 GB, free: 1.477 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.546e-05/0.399, allocations: 0 / 1.027 GB, free: 1.477 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.551e-05/0.3991, allocations: 0 / 1.027 GB, free: 1.477 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.98e-05/0.3991, allocations: 7.938 kB / 1.027 GB, free: 1.469 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.163e-05/0.3991, allocations: 0 / 1.027 GB, free: 1.469 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.107e-05/0.3992, allocations: 4 kB / 1.027 GB, free: 1.465 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.439e-05/0.3992, allocations: 7.984 kB / 1.027 GB, free: 1.457 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.375e-05/0.3993, allocations: 0 / 1.027 GB, free: 1.457 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.999e-05/0.3993, allocations: 3.984 kB / 1.027 GB, free: 1.453 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.3993, allocations: 0 / 1.027 GB, free: 1.453 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.16e-06/0.3993, allocations: 0 / 1.027 GB, free: 1.453 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.3993, allocations: 3.938 kB / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.065e-05/0.3994, allocations: 0 / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.336e-05/0.3994, allocations: 7.984 kB / 1.027 GB, free: 1.441 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3994, allocations: 4 kB / 1.027 GB, free: 1.438 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3995, allocations: 0 / 1.027 GB, free: 1.438 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.3995, allocations: 0 / 1.027 GB, free: 1.438 MB / 0.795 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.0002952/0.3998, allocations: 315.6 kB / 1.028 GB, free: 1.078 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3998, allocations: 8.031 kB / 1.028 GB, free: 1.07 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.505e-05/0.3998, allocations: 0.9375 kB / 1.028 GB, free: 1.07 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.4, allocations: 160.4 kB / 1.028 GB, free: 0.875 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.4, allocations: 4.375 kB / 1.028 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-06/0.4, allocations: 384 / 1.028 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.936e-05/0.4001, allocations: 34.2 kB / 1.028 GB, free: 0.832 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.4001, allocations: 192 / 1.028 GB, free: 0.832 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.4001, allocations: 3.938 kB / 1.028 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.4001, allocations: 0 / 1.028 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.636e-05/0.4001, allocations: 4 kB / 1.028 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000294/0.4004, allocations: 379.5 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.191e-05/0.4005, allocations: 181.1 kB / 1.028 GB, free: 220 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.09e-05/0.4006, allocations: 94.45 kB / 1.028 GB, free: 124 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.4006, allocations: 75.28 kB / 1.029 GB, free: 48 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.034e-05/0.4007, allocations: 109.8 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.4007, allocations: 0 / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.14e-05/0.4007, allocations: 33.64 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.4008, allocations: 130.7 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.515e-05/0.4009, allocations: 97.86 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.4009, allocations: 25.7 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/0.401, allocations: 80.14 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-06/0.401, allocations: 0 / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-05/0.401, allocations: 9.719 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.4011, allocations: 314.8 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.21e-06/0.4011, allocations: 8.062 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.96e-06/0.4012, allocations: 8 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.646e-05/0.4012, allocations: 75.28 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.212e-05/0.4012, allocations: 75.28 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.03e-05/0.4013, allocations: 29.64 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.432e-05/0.4013, allocations: 83.28 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.91e-05/0.4014, allocations: 83.22 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.528e-05/0.4014, allocations: 154.6 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.183e-05/0.4014, allocations: 75.28 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.508e-05/0.4015, allocations: 162.5 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.622e-05/0.4016, allocations: 75.28 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.4016, allocations: 79.22 kB / 1.03 GB, free: 14.3 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.000121/0.4017, allocations: 264.3 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.406e-05/0.4018, allocations: 113 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.334e-05/0.4019, allocations: 104.1 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.969e-05/0.4019, allocations: 184.2 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.229e-05/0.402, allocations: 180.3 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.587e-05/0.4021, allocations: 180.2 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.4023, allocations: 413.2 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.936e-05/0.4023, allocations: 105 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.653e-05/0.4024, allocations: 104.9 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.688e-05/0.4025, allocations: 176.3 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.08e-05/0.4025, allocations: 180.2 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.423e-05/0.4026, allocations: 184.6 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.509e-05/0.4027, allocations: 188.2 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.4028, allocations: 307.7 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.109e-05/0.4029, allocations: 189.9 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.722e-05/0.403, allocations: 180.2 kB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.531e-05/0.4031, allocations: 105 kB / 1.033 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.124e-05/0.4032, allocations: 184.2 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-05/0.4032, allocations: 101 kB / 1.033 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.13e-05/0.4033, allocations: 79.28 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.4033, allocations: 0 / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002682/0.4035, allocations: 0 / 1.034 GB, free: 10.62 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.0001386/0.4037, allocations: 186.5 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 4.437e-05/0.4037, allocations: 3.938 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4037, allocations: 0 / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.416e-06/0.4037, allocations: 4 kB / 1.034 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.4041, allocations: 459.6 kB / 1.034 GB, free: 9.969 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002247/0.4044, allocations: 160.4 kB / 1.034 GB, free: 9.785 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.4046, allocations: 0.6729 MB / 1.035 GB, free: 9.086 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.478e-06/0.4047, allocations: 0 / 1.035 GB, free: 9.086 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/0.4047, allocations: 7.438 kB / 1.035 GB, free: 9.078 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.4047, allocations: 0 / 1.035 GB, free: 9.078 MB / 0.8106 GB Notification: Performance of Templates: time 0.002011/0.4067, allocations: 168.9 kB / 1.035 GB, free: 8.914 MB / 0.8106 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 -s cvode -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/jenkins1/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