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.001196/0.001196, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001188/0.001188, allocations: 193.2 kB / 16.14 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.22/1.22, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.448/2.448, allocations: 461.8 MB / 0.7342 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 69.11 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2502, allocations: 157.4 MB / 1.052 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001891/0.2522, allocations: 0.7797 MB / 1.053 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008594/0.253, allocations: 0.8391 MB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.025e-05/0.2531, allocations: 0 / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.102e-05/0.2531, allocations: 3.938 kB / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.884e-05/0.2532, allocations: 0 / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.2534, allocations: 27.95 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.769e-05/0.2534, allocations: 43.86 kB / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.412e-05/0.2535, allocations: 11.98 kB / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.738e-05/0.2536, allocations: 15.94 kB / 1.054 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.328e-05/0.2537, allocations: 31.89 kB / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.2537, allocations: 0 / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.382e-05/0.2537, allocations: 4 kB / 1.054 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.2537, allocations: 3.984 kB / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.2538, allocations: 27.81 kB / 1.054 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.817e-05/0.2539, allocations: 47.84 kB / 1.054 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2539, allocations: 0 / 1.054 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.21e-07/0.2539, allocations: 0 / 1.054 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.2539, allocations: 4 kB / 1.054 GB, free: 6.312 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.0004605/0.2543, allocations: 347.7 kB / 1.054 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.2544, allocations: 11.97 kB / 1.054 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.031e-05/0.2544, allocations: 38.75 kB / 1.054 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.62e-05/0.2545, allocations: 4.844 kB / 1.054 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.2546, allocations: 172.3 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.2546, allocations: 384 / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.2546, allocations: 8.375 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.2548, allocations: 73.58 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.2548, allocations: 0 / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.2549, allocations: 0 / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2549, allocations: 0 / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.2551, allocations: 51.89 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.2555, allocations: 296.7 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.2557, allocations: 62.53 kB / 1.055 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.2558, allocations: 40.86 kB / 1.055 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.2558, allocations: 7.984 kB / 1.055 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.2558, allocations: 34.55 kB / 1.055 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2559, allocations: 0 / 1.055 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003823/0.2562, allocations: 105.6 kB / 1.055 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.2563, allocations: 51.41 kB / 1.055 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.59e-05/0.2564, allocations: 109.8 kB / 1.055 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.2564, allocations: 25.7 kB / 1.055 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.2564, allocations: 92.05 kB / 1.055 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.2564, allocations: 7.844 kB / 1.055 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.2565, allocations: 21.7 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.317e-05/0.2566, allocations: 318.8 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.2567, allocations: 31.91 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.81e-05/0.2568, allocations: 23.98 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.257, allocations: 52.81 kB / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.257, allocations: 0 / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002285/0.2572, allocations: 85.64 kB / 1.056 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.2573, allocations: 4 kB / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.2573, allocations: 0 / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.2573, allocations: 0 / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.2574, allocations: 15.98 kB / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.2574, allocations: 3.938 kB / 1.056 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.042e-05/0.2575, allocations: 7.984 kB / 1.056 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.2575, allocations: 4 kB / 1.056 GB, free: 4.012 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.085e-05/0.2576, allocations: 113.8 kB / 1.056 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.2576, allocations: 7.906 kB / 1.056 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.2577, allocations: 11.89 kB / 1.056 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2577, allocations: 4 kB / 1.056 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2577, allocations: 4 kB / 1.056 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2577, allocations: 0 / 1.056 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.2578, allocations: 177.5 kB / 1.056 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2579, allocations: 3.938 kB / 1.056 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.292e-05/0.2579, allocations: 15.97 kB / 1.056 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.258, allocations: 0 / 1.056 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.258, allocations: 4 kB / 1.056 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.258, allocations: 0 / 1.056 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.258, allocations: 0 / 1.056 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.2583, allocations: 191.3 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.2583, allocations: 77.11 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.2583, allocations: 4 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.2584, allocations: 11.98 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.2585, allocations: 4.359 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.2585, allocations: 4 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.44e-05/0.2585, allocations: 87.59 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2585, allocations: 0 / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002206/0.2588, allocations: 11.94 kB / 1.057 GB, free: 3.195 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.0005271/0.2593, allocations: 0.7202 MB / 1.057 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002227/0.2595, allocations: 59.89 kB / 1.057 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2595, allocations: 0 / 1.057 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.2597, allocations: 35.91 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.2599, allocations: 4 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.2614, allocations: 1.329 MB / 1.059 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.2616, allocations: 0.6809 MB / 1.059 GB, free: 240 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.612e-05/0.2617, allocations: 4 kB / 1.059 GB, free: 236 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.525e-05/0.2617, allocations: 23.42 kB / 1.06 GB, free: 212 kB / 0.8106 GB Notification: Performance of SimCode: time 1.263e-06/0.2617, allocations: 0 / 1.06 GB, free: 212 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1981/0.4599, allocations: 1.59 MB / 1.061 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/0.4601, allocations: 223.7 kB / 1.061 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/2.063, allocations: 0 / 1.061 GB, free: 14.48 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