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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008389/0.000839, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005044/0.005044, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.311/1.311, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.465/2.465, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003106, allocations: 18.44 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2723, allocations: 159.6 MB / 1.059 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.00079/0.2731, allocations: 447.4 kB / 1.059 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008326/0.274, allocations: 0.8351 MB / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.853e-05/0.274, allocations: 0 / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.369e-05/0.2741, allocations: 0 / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.991e-05/0.2741, allocations: 7.938 kB / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001171/0.2743, allocations: 15.98 kB / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.914e-05/0.2743, allocations: 55.83 kB / 1.06 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.292e-05/0.2744, allocations: 8 kB / 1.06 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.648e-05/0.2745, allocations: 15.92 kB / 1.06 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.929e-05/0.2745, allocations: 23.91 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.2746, allocations: 3.984 kB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.2746, allocations: 4 kB / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.2746, allocations: 4 kB / 1.06 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.805e-05/0.2747, allocations: 45.56 kB / 1.06 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.921e-05/0.2747, allocations: 47.84 kB / 1.06 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2747, allocations: 0 / 1.06 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2747, allocations: 0 / 1.06 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.026e-06/0.2747, allocations: 0 / 1.06 GB, free: 3.305 MB / 0.8106 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.0004022/0.2752, allocations: 347.7 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2752, allocations: 11.97 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.697e-05/0.2752, allocations: 42.73 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.278e-05/0.2753, allocations: 4.938 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.2754, allocations: 176.2 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.2754, allocations: 384 / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.2754, allocations: 4.375 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.2756, allocations: 73.59 kB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-06/0.2756, allocations: 0 / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.2757, allocations: 4 kB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.2757, allocations: 0 / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.2759, allocations: 63.94 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.2762, allocations: 284.8 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.2764, allocations: 70.55 kB / 1.061 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.2765, allocations: 44.84 kB / 1.061 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.2766, allocations: 8.062 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.2766, allocations: 42.5 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.2766, allocations: 0 / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003903/0.277, allocations: 129.5 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.277, allocations: 55.41 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.519e-05/0.2771, allocations: 109.8 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.2771, allocations: 25.7 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.2772, allocations: 88.12 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.2772, allocations: 11.81 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.2772, allocations: 9.719 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.047e-05/0.2773, allocations: 326.8 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.939e-05/0.2774, allocations: 27.98 kB / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.241e-05/0.2775, allocations: 27.97 kB / 1.062 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.2777, allocations: 68.81 kB / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2777, allocations: 0 / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002339/0.278, allocations: 93.59 kB / 1.062 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.278, allocations: 4 kB / 1.062 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.278, allocations: 4 kB / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.836e-06/0.278, allocations: 0 / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.2781, allocations: 15.98 kB / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2781, allocations: 3.984 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.656e-05/0.2782, allocations: 8 kB / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.2782, allocations: 0 / 1.062 GB, free: 0.9297 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 7.175e-05/0.2783, allocations: 125.8 kB / 1.062 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.2783, allocations: 3.906 kB / 1.062 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.371e-05/0.2783, allocations: 11.91 kB / 1.062 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2784, allocations: 0 / 1.062 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2784, allocations: 0 / 1.062 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2784, allocations: 0 / 1.062 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.2785, allocations: 181.5 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2785, allocations: 0 / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.956e-05/0.2786, allocations: 15.92 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2786, allocations: 7.938 kB / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.2786, allocations: 4 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2787, allocations: 0 / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2787, allocations: 0 / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.2789, allocations: 199.4 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.968e-05/0.279, allocations: 81.02 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.279, allocations: 0 / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.412e-05/0.2791, allocations: 11.98 kB / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.2791, allocations: 11.98 kB / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-06/0.2792, allocations: 0 / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.925e-05/0.2792, allocations: 91.56 kB / 1.063 GB, free: 104 kB / 0.8106 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2792, allocations: 3.938 kB / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002149/0.2794, allocations: 11.94 kB / 1.063 GB, free: 88 kB / 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.0005133/0.2799, allocations: 0.7284 MB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002356/0.2802, allocations: 67.98 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2802, allocations: 0 / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.2803, allocations: 43.91 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.2806, allocations: 3.984 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.2819, allocations: 1.349 MB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.2821, allocations: 0.6809 MB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.211e-05/0.2822, allocations: 8 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.2822, allocations: 19.42 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.2822, allocations: 0 / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.203/1.485, allocations: 1.53 MB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/1.485, allocations: 214.6 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/3.107, allocations: 0 / 1.068 GB, free: 11.43 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.fmu > 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