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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001431/0.001431, allocations: 107.4 kB / 15.99 MB, free: 6.352 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.001425/0.001425, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.414/1.414, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.773/2.773, allocations: 482.4 MB / 0.755 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 77.22 kB / 0.924 GB, free: 312 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8866/0.8885, allocations: 162.2 MB / 1.082 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.00197/0.8905, allocations: 0.7659 MB / 1.083 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008778/0.8914, allocations: 0.837 MB / 1.084 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.005e-05/0.8915, allocations: 1.031 kB / 1.084 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.768e-05/0.8915, allocations: 4.547 kB / 1.084 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.597e-05/0.8916, allocations: 1.625 kB / 1.084 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.8917, allocations: 20.47 kB / 1.084 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.857e-05/0.8918, allocations: 52.78 kB / 1.084 GB, free: 476 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.8919, allocations: 13.5 kB / 1.084 GB, free: 472 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.25e-05/0.892, allocations: 21.83 kB / 1.084 GB, free: 460 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.067e-05/0.8921, allocations: 25.09 kB / 1.084 GB, free: 448 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.8921, allocations: 4.375 kB / 1.084 GB, free: 448 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.446e-05/0.8921, allocations: 3.938 kB / 1.084 GB, free: 448 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.93e-05/0.8921, allocations: 11.02 kB / 1.084 GB, free: 440 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.8922, allocations: 22.11 kB / 1.084 GB, free: 424 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.014e-05/0.8923, allocations: 32.12 kB / 1.084 GB, free: 416 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8923, allocations: 0 / 1.084 GB, free: 416 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8923, allocations: 0.75 kB / 1.084 GB, free: 416 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.8923, allocations: 0 / 1.084 GB, free: 416 kB / 0.8262 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.000442/0.8928, allocations: 360.3 kB / 1.085 GB, free: 40 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.8928, allocations: 10.08 kB / 1.085 GB, free: 40 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.8928, allocations: 7.844 kB / 1.085 GB, free: 36 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.893, allocations: 164.2 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.893, allocations: 2.484 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.8931, allocations: 2.625 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.8933, allocations: 76.48 kB / 1.085 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.8933, allocations: 0.7031 kB / 1.085 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.8933, allocations: 8 kB / 1.085 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.8934, allocations: 1 kB / 1.085 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00021/0.8936, allocations: 47.84 kB / 1.085 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.8941, allocations: 291.1 kB / 1.085 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.8943, allocations: 71.06 kB / 1.085 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.8944, allocations: 30.86 kB / 1.085 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.8944, allocations: 5.844 kB / 1.085 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.8945, allocations: 31.69 kB / 1.085 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.8945, allocations: 0 / 1.085 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0004395/0.8949, allocations: 106.2 kB / 1.085 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.895, allocations: 60.69 kB / 1.085 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.644e-05/0.8951, allocations: 110.2 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.8951, allocations: 27.27 kB / 1.086 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.634e-05/0.8952, allocations: 94.42 kB / 1.086 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.8952, allocations: 10.22 kB / 1.086 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.8953, allocations: 20.52 kB / 1.086 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.8954, allocations: 320.9 kB / 1.086 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.8956, allocations: 23.31 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.62e-05/0.8957, allocations: 22.83 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.8959, allocations: 55.22 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.8959, allocations: 0 / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002562/0.8961, allocations: 95.38 kB / 1.086 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.8962, allocations: 5.531 kB / 1.086 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.8962, allocations: 0.9688 kB / 1.086 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.8962, allocations: 0 / 1.086 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.8963, allocations: 13.45 kB / 1.086 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.8964, allocations: 4.812 kB / 1.086 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.921e-05/0.8964, allocations: 6.531 kB / 1.086 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.8965, allocations: 2.062 kB / 1.086 GB, free: 14.6 MB / 0.8419 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.0001066/0.8966, allocations: 121.2 kB / 1.086 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.8966, allocations: 1.469 kB / 1.086 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.8966, allocations: 6.469 kB / 1.086 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.8966, allocations: 0.5312 kB / 1.086 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.8966, allocations: 1.375 kB / 1.086 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.8966, allocations: 0.7031 kB / 1.086 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.8969, allocations: 182.5 kB / 1.086 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.8969, allocations: 4 kB / 1.086 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.632e-05/0.897, allocations: 13.56 kB / 1.087 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.897, allocations: 4 kB / 1.087 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.897, allocations: 2.266 kB / 1.087 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/0.897, allocations: 0 / 1.087 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.897, allocations: 0.5625 kB / 1.087 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.8974, allocations: 191.9 kB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.897e-05/0.8974, allocations: 80.09 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.8975, allocations: 4.734 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.883e-05/0.8976, allocations: 10.17 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.778e-05/0.8976, allocations: 11.59 kB / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.8976, allocations: 1.938 kB / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.799e-05/0.8977, allocations: 87.27 kB / 1.087 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8977, allocations: 0 / 1.087 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002223/0.8979, allocations: 6.5 kB / 1.087 GB, free: 13.91 MB / 0.8419 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.0001435/0.8981, allocations: 102 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002728/0.8984, allocations: 65.17 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.8984, allocations: 0 / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.8985, allocations: 29.16 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.8988, allocations: 11.52 kB / 1.087 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004041/0.8992, allocations: 180.8 kB / 1.087 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.8996, allocations: 0.681 MB / 1.088 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.961e-05/0.8997, allocations: 12.94 kB / 1.088 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of SimCode: time 3.2e-07/0.8997, allocations: 0 / 1.088 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of Templates: time 0.002521/0.9022, allocations: 0.8154 MB / 1.089 GB, free: 12.86 MB / 0.8419 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=400 -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