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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001041/0.001045, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 194.8 kB / 16.53 MB, free: 6.664 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.232/1.232, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.441/2.441, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 62.14 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2387, allocations: 157.4 MB / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001806/0.2406, allocations: 0.7142 MB / 1.054 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000776/0.2414, allocations: 0.8351 MB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.889e-05/0.2414, allocations: 0 / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.496e-05/0.2415, allocations: 7.922 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.047e-05/0.2415, allocations: 7.875 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001315/0.2417, allocations: 23.97 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.611e-05/0.2418, allocations: 47.84 kB / 1.055 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.2419, allocations: 12 kB / 1.055 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.281e-05/0.2419, allocations: 27.86 kB / 1.055 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.912e-05/0.242, allocations: 27.89 kB / 1.055 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.242, allocations: 4 kB / 1.055 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/0.242, allocations: 4 kB / 1.055 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.2421, allocations: 8 kB / 1.055 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.2421, allocations: 27.86 kB / 1.055 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.878e-05/0.2422, allocations: 43.84 kB / 1.055 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2422, allocations: 0 / 1.055 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2422, allocations: 0 / 1.055 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2422, allocations: 0 / 1.055 GB, free: 6.492 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.0004592/0.2427, allocations: 355.7 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2427, allocations: 8.625 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.152e-05/0.2428, allocations: 34.73 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.2428, allocations: 8.844 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.2429, allocations: 172.3 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.2429, allocations: 384 / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.2429, allocations: 4.375 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.2431, allocations: 69.53 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.2432, allocations: 4 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.2432, allocations: 0 / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.2432, allocations: 4 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.2434, allocations: 51.94 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.2437, allocations: 292.7 kB / 1.056 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.2439, allocations: 70.48 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.244, allocations: 32.91 kB / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.2441, allocations: 0 / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.2441, allocations: 30.56 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.2441, allocations: 0 / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003771/0.2445, allocations: 113.6 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.2445, allocations: 59.34 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.979e-05/0.2446, allocations: 105.8 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.2446, allocations: 29.7 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.2447, allocations: 84.05 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.2447, allocations: 11.91 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.2447, allocations: 21.7 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.878e-05/0.2448, allocations: 318.8 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.851e-05/0.2449, allocations: 23.97 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.79e-05/0.245, allocations: 23.98 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.2452, allocations: 57.03 kB / 1.057 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.2452, allocations: 4 kB / 1.057 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002263/0.2455, allocations: 93.56 kB / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.2455, allocations: 4 kB / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2455, allocations: 0 / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.2455, allocations: 4 kB / 1.057 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.2456, allocations: 11.98 kB / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.2456, allocations: 0 / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.583e-05/0.2457, allocations: 7.984 kB / 1.057 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.2457, allocations: 4 kB / 1.057 GB, free: 4.188 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 6.951e-05/0.2458, allocations: 117.8 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.2458, allocations: 3.906 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.264e-05/0.2459, allocations: 11.91 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2459, allocations: 0 / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.2459, allocations: 0 / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.2459, allocations: 0 / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.246, allocations: 181.5 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2461, allocations: 3.938 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.875e-05/0.2461, allocations: 11.98 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2462, allocations: 4 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.2462, allocations: 0 / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2462, allocations: 3.984 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2462, allocations: 0 / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.2465, allocations: 191.3 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.043e-05/0.2465, allocations: 81.09 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.2465, allocations: 0 / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-05/0.2466, allocations: 8 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.2467, allocations: 11.98 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.2467, allocations: 0 / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.985e-05/0.2467, allocations: 91.27 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2467, allocations: 0 / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002175/0.2469, allocations: 11.94 kB / 1.057 GB, free: 3.371 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.0004998/0.2475, allocations: 0.7162 MB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002254/0.2477, allocations: 55.94 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2477, allocations: 4 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.2478, allocations: 31.91 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.2481, allocations: 13.89 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.2494, allocations: 1.325 MB / 1.059 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.2496, allocations: 0.6846 MB / 1.06 GB, free: 424 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.055e-05/0.2497, allocations: 7.984 kB / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.2497, allocations: 15.42 kB / 1.06 GB, free: 400 kB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.2498, allocations: 7.938 kB / 1.06 GB, free: 392 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7618/1.012, allocations: 1.797 MB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.968/8.979, allocations: 5.109 kB / 1.062 GB, free: 14.67 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