Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_10_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.005221/0.005222, allocations: 95.83 kB / 15.73 MB, free: 6.039 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.001452/0.001452, allocations: 199 kB / 16.68 MB, free: 5.969 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.339/2.339, allocations: 437.1 MB / 0.7106 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 67.91 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2439, allocations: 151.6 MB / 1.166 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001555/0.2455, allocations: 0.7131 MB / 1.167 GB, free: 6.602 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008297/0.2464, allocations: 0.8471 MB / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.009e-05/0.2464, allocations: 0 / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.635e-05/0.2464, allocations: 3.938 kB / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.602e-05/0.2465, allocations: 7.938 kB / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000111/0.2466, allocations: 19.92 kB / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.721e-05/0.2467, allocations: 51.89 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.735e-05/0.2468, allocations: 11.98 kB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.534e-05/0.2469, allocations: 19.92 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.633e-05/0.2469, allocations: 23.92 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.2469, allocations: 4 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.099e-05/0.247, allocations: 4 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.247, allocations: 19.91 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.247, allocations: 15.94 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.265e-05/0.2471, allocations: 56 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2471, allocations: 0 / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2471, allocations: 0 / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.2471, allocations: 0 / 1.168 GB, free: 5.508 MB / 0.92 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.0004531/0.2476, allocations: 355.3 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.2476, allocations: 12.03 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.134e-05/0.2477, allocations: 30.75 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.274e-05/0.2477, allocations: 8.938 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.2478, allocations: 180.2 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.2478, allocations: 4.375 kB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.2479, allocations: 4.125 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.248, allocations: 65.66 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.2481, allocations: 0 / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.2481, allocations: 0 / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.2481, allocations: 0 / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.2483, allocations: 55.95 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.2486, allocations: 296.7 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.2488, allocations: 62.55 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.2489, allocations: 32.91 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.249, allocations: 8.062 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.249, allocations: 30.56 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.249, allocations: 0 / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.000369/0.2494, allocations: 109.6 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.2494, allocations: 51.41 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.078e-05/0.2495, allocations: 117.8 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.2495, allocations: 25.7 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.2496, allocations: 84.09 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.2496, allocations: 15.94 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.2496, allocations: 17.66 kB / 1.169 GB, free: 3.758 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.2498, allocations: 326.7 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.323e-05/0.2499, allocations: 19.98 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.844e-05/0.25, allocations: 27.97 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.2501, allocations: 60.75 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2501, allocations: 0 / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002228/0.2504, allocations: 81.61 kB / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.2504, allocations: 4 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.2504, allocations: 0 / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.2504, allocations: 0 / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.2505, allocations: 23.98 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.2505, allocations: 3.984 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.137e-05/0.2506, allocations: 8 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.2506, allocations: 3.938 kB / 1.17 GB, free: 3.191 MB / 0.92 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.544e-05/0.2507, allocations: 117.8 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.2507, allocations: 0 / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.2507, allocations: 7.906 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.2508, allocations: 4 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.2508, allocations: 7.938 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2508, allocations: 0 / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.2509, allocations: 173.6 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2509, allocations: 0 / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.575e-05/0.251, allocations: 15.98 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.251, allocations: 0 / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.2511, allocations: 4 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2511, allocations: 0 / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.2511, allocations: 0 / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.2513, allocations: 191.7 kB / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.2514, allocations: 81.11 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.2514, allocations: 0 / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.515e-05/0.2515, allocations: 7.984 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.2516, allocations: 11.98 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.2516, allocations: 0 / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.99e-05/0.2516, allocations: 99.14 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2516, allocations: 4 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002002/0.2518, allocations: 7.953 kB / 1.171 GB, free: 2.371 MB / 0.92 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.0005554/0.2524, allocations: 0.7163 MB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002295/0.2526, allocations: 55.89 kB / 1.171 GB, free: 1.574 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2526, allocations: 0 / 1.171 GB, free: 1.574 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.2528, allocations: 31.97 kB / 1.171 GB, free: 1.543 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.253, allocations: 13.66 kB / 1.171 GB, free: 1.531 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.2544, allocations: 1.321 MB / 1.173 GB, free: 136 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.2547, allocations: 0.6846 MB / 1.173 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.56e-05/0.2547, allocations: 4 kB / 1.173 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/0.2548, allocations: 15.44 kB / 1.173 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.2548, allocations: 0 / 1.173 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.43/1.685, allocations: 1.838 MB / 1.175 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/15.44, allocations: 6.359 kB / 1.175 GB, free: 13.66 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches