Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.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.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 107 kB / 16.36 MB, free: 6.336 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.001968/0.001968, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.442/1.442, 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.625/2.625, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 71.62 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3829, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002222/0.3852, allocations: 0.7233 MB / 1.027 GB, free: 1.348 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009931/0.3862, allocations: 0.8312 MB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.084e-05/0.3862, allocations: 0 / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.605e-05/0.3863, allocations: 3.938 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.257e-05/0.3864, allocations: 7.938 kB / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.3865, allocations: 19.97 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.618e-05/0.3866, allocations: 51.86 kB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.3867, allocations: 19.97 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.21e-05/0.3868, allocations: 19.92 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.853e-05/0.3869, allocations: 19.92 kB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.3869, allocations: 4 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.3869, allocations: 4 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.387, allocations: 11.98 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.467e-05/0.387, allocations: 27.84 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.3871, allocations: 43.81 kB / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3871, allocations: 0 / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.494e-06/0.3871, allocations: 0 / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3872, allocations: 0 / 1.028 GB, free: 280 kB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000584/0.3877, allocations: 355.4 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3878, allocations: 8.75 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.3878, allocations: 8.844 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.388, allocations: 168.4 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.388, allocations: 4.375 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.3881, allocations: 8.375 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.3883, allocations: 73.72 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3883, allocations: 0 / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.3883, allocations: 7.875 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3883, allocations: 0 / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.3885, allocations: 47.95 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004654/0.389, allocations: 292.7 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.3892, allocations: 74.45 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.3893, allocations: 36.91 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.3894, allocations: 0 / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.3894, allocations: 38.56 kB / 1.03 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.3894, allocations: 0 / 1.03 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004222/0.3898, allocations: 105.6 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.3899, allocations: 51.41 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.777e-05/0.39, allocations: 109.8 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.39, allocations: 25.7 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/0.3901, allocations: 88.05 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.3901, allocations: 11.98 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.3901, allocations: 25.64 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3903, allocations: 318.8 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.874e-05/0.3904, allocations: 23.97 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.766e-05/0.3905, allocations: 23.97 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.3907, allocations: 52.83 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3907, allocations: 0 / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002378/0.3909, allocations: 85.64 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3909, allocations: 4 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.391, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.391, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.3911, allocations: 19.92 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3911, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.957e-05/0.3912, allocations: 11.98 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.423e-06/0.3912, allocations: 0 / 1.03 GB, free: 14.01 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: 2 (reaToInt.y,addPar.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001054/0.3913, allocations: 121.7 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.3914, allocations: 3.906 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.003e-05/0.3914, allocations: 15.83 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3914, allocations: 4 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3914, allocations: 0 / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.185e-06/0.3914, allocations: 0 / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.3916, allocations: 181.5 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3916, allocations: 4 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.382e-05/0.3917, allocations: 15.98 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3917, allocations: 0 / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.3918, allocations: 0 / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3918, allocations: 0 / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3918, allocations: 0 / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.3921, allocations: 191.5 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.3921, allocations: 85.11 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.3922, allocations: 0 / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.958e-05/0.3923, allocations: 11.98 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.3923, allocations: 16.02 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.3923, allocations: 0 / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.944e-05/0.3924, allocations: 87.58 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3924, allocations: 0 / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002321/0.3926, allocations: 8 kB / 1.031 GB, free: 13.18 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: 2 (addPar.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001439/0.3928, allocations: 111.2 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00025/0.393, allocations: 47.95 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3931, allocations: 0 / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.3932, allocations: 39.91 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.3934, allocations: 4 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/0.3938, allocations: 133.6 kB / 1.031 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.3942, allocations: 0.6845 MB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.159e-05/0.3942, allocations: 4 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.3943, allocations: 19.42 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/0.3943, allocations: 0 / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of Templates: time 0.003303/0.3976, allocations: 0.8757 MB / 1.033 GB, free: 11.21 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches