Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 107.4 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 212.9 kB / 19.43 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.592/1.592, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.473/3.473, allocations: 0.4899 GB / 0.7915 GB, free: 33.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 74.55 kB / 1.149 GB, free: 26.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3878, allocations: 176.1 MB / 1.321 GB, free: 2.77 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002103/0.39, allocations: 0.716 MB / 1.322 GB, free: 2.055 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.3911, allocations: 0.867 MB / 1.323 GB, free: 1.176 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.604e-05/0.3911, allocations: 0 / 1.323 GB, free: 1.176 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.796e-05/0.3912, allocations: 3.938 kB / 1.323 GB, free: 1.172 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.702e-05/0.3912, allocations: 3.938 kB / 1.323 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001413/0.3914, allocations: 27.92 kB / 1.323 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.3915, allocations: 47.84 kB / 1.323 GB, free: 1.094 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3916, allocations: 15.97 kB / 1.323 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.002e-05/0.3917, allocations: 23.86 kB / 1.323 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.524e-05/0.3917, allocations: 23.92 kB / 1.323 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.3917, allocations: 4 kB / 1.323 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.046e-05/0.3918, allocations: 4 kB / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.3918, allocations: 7.984 kB / 1.323 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.685e-05/0.3918, allocations: 23.86 kB / 1.323 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.3919, allocations: 43.8 kB / 1.323 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3919, allocations: 8 kB / 1.323 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3919, allocations: 0 / 1.323 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.3919, allocations: 0 / 1.323 GB, free: 0.9414 MB / 1.014 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.0006157/0.3926, allocations: 355.3 kB / 1.323 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3926, allocations: 15.98 kB / 1.323 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.3926, allocations: 0.9375 kB / 1.323 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.3928, allocations: 180.2 kB / 1.324 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.3928, allocations: 4.312 kB / 1.324 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.3929, allocations: 8.375 kB / 1.324 GB, free: 312 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.3931, allocations: 73.58 kB / 1.324 GB, free: 232 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3931, allocations: 0 / 1.324 GB, free: 232 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.3931, allocations: 4 kB / 1.324 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3931, allocations: 0 / 1.324 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002226/0.3933, allocations: 47.95 kB / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004927/0.3938, allocations: 288.8 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.394, allocations: 62.53 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.3942, allocations: 32.92 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.3942, allocations: 0 / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.3942, allocations: 34.55 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.3942, allocations: 4 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.000457/0.3947, allocations: 113.5 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.3947, allocations: 51.41 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.908e-05/0.3948, allocations: 109.8 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.3948, allocations: 25.7 kB / 1.324 GB, free: 15.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.3949, allocations: 84.14 kB / 1.324 GB, free: 15.28 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.3949, allocations: 11.91 kB / 1.324 GB, free: 15.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.3949, allocations: 25.7 kB / 1.324 GB, free: 15.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3951, allocations: 314.8 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.3952, allocations: 23.97 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.3953, allocations: 23.98 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.3955, allocations: 52.81 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3955, allocations: 4 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002636/0.3958, allocations: 89.58 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3958, allocations: 4 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3958, allocations: 0 / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3958, allocations: 3.938 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.396, allocations: 20.31 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.396, allocations: 0 / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.656e-05/0.3961, allocations: 15.88 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.413e-06/0.3961, allocations: 4 kB / 1.325 GB, free: 14.67 MB / 1.029 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 9.086e-05/0.3962, allocations: 121.7 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.3962, allocations: 3.984 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.3962, allocations: 7.891 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3962, allocations: 4 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.3962, allocations: 0 / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.3962, allocations: 0 / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.3964, allocations: 177.7 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3964, allocations: 0 / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.3965, allocations: 23.92 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.3965, allocations: 3.984 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.3965, allocations: 0 / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3965, allocations: 0 / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3966, allocations: 0 / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.3969, allocations: 183.4 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.3969, allocations: 81.11 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.3969, allocations: 4 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.397, allocations: 7.984 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/0.3971, allocations: 11.98 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.3971, allocations: 0 / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.415e-05/0.3972, allocations: 87.28 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3972, allocations: 0 / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002282/0.3974, allocations: 7.938 kB / 1.326 GB, free: 13.86 MB / 1.029 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.0001425/0.3975, allocations: 115.2 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002849/0.3978, allocations: 47.95 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3978, allocations: 0 / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.3979, allocations: 31.97 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.3982, allocations: 8.547 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003687/0.3986, allocations: 133.4 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.3989, allocations: 0.6884 MB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.609e-05/0.399, allocations: 0 / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.48e-05/0.399, allocations: 15.42 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.399, allocations: 0 / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of Templates: time 0.003352/0.4024, allocations: 0.8937 MB / 1.328 GB, free: 11.88 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.546723935753107]