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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 110.8 kB / 16.41 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002076/0.002076, allocations: 195.7 kB / 19.36 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.926/2.926, allocations: 489 MB / 0.7678 GB, free: 0 / 0.6231 GB " [Timeout remaining time 176] 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: "" <> 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 67.89 kB / 1.101 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8527/0.8548, allocations: 163.8 MB / 1.261 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001956/0.8568, allocations: 0.7117 MB / 1.262 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.8578, allocations: 0.8351 MB / 1.263 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.176e-05/0.8579, allocations: 0 / 1.263 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.8579, allocations: 3.938 kB / 1.263 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.013e-05/0.858, allocations: 3.938 kB / 1.263 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.8581, allocations: 27.91 kB / 1.263 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.205e-05/0.8582, allocations: 51.84 kB / 1.263 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.8584, allocations: 19.98 kB / 1.263 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.561e-05/0.8584, allocations: 11.98 kB / 1.263 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.53e-05/0.8585, allocations: 27.86 kB / 1.263 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.8585, allocations: 4 kB / 1.263 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.8585, allocations: 4 kB / 1.263 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.944e-05/0.8586, allocations: 15.97 kB / 1.263 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.65e-05/0.8586, allocations: 23.86 kB / 1.263 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.8587, allocations: 47.8 kB / 1.263 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8587, allocations: 0 / 1.263 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8588, allocations: 0 / 1.263 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.331e-06/0.8588, allocations: 0 / 1.263 GB, free: 5.312 MB / 0.9669 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.0005388/0.8593, allocations: 358.1 kB / 1.263 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.8594, allocations: 12.03 kB / 1.263 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.367e-05/0.8594, allocations: 34.69 kB / 1.263 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.596e-05/0.8594, allocations: 4.938 kB / 1.263 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.8596, allocations: 172.3 kB / 1.263 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.8596, allocations: 8.375 kB / 1.263 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.8596, allocations: 4.125 kB / 1.263 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.8599, allocations: 65.66 kB / 1.263 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.8599, allocations: 0 / 1.263 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.8599, allocations: 0 / 1.263 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.8599, allocations: 7.922 kB / 1.263 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002138/0.8601, allocations: 51.95 kB / 1.263 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.8606, allocations: 296.6 kB / 1.264 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.8608, allocations: 62.55 kB / 1.264 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.8609, allocations: 36.91 kB / 1.264 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.8609, allocations: 4.062 kB / 1.264 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.861, allocations: 34.56 kB / 1.264 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 3.056e-06/0.861, allocations: 0 / 1.264 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004239/0.8614, allocations: 109.6 kB / 1.264 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.8615, allocations: 51.41 kB / 1.264 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.483e-05/0.8616, allocations: 109.8 kB / 1.264 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.8616, allocations: 33.7 kB / 1.264 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.8616, allocations: 84.09 kB / 1.264 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.8617, allocations: 15.94 kB / 1.264 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.8617, allocations: 13.72 kB / 1.264 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.8619, allocations: 322.8 kB / 1.265 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.862, allocations: 19.98 kB / 1.265 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.513e-05/0.8621, allocations: 23.97 kB / 1.265 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.8623, allocations: 64.75 kB / 1.265 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.8623, allocations: 0 / 1.265 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002514/0.8625, allocations: 81.61 kB / 1.265 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.8626, allocations: 4 kB / 1.265 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.8626, allocations: 0 / 1.265 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.8626, allocations: 0 / 1.265 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.8627, allocations: 19.97 kB / 1.265 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.8627, allocations: 4 kB / 1.265 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.872e-05/0.8628, allocations: 4 kB / 1.265 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.8629, allocations: 3.938 kB / 1.265 GB, free: 3.008 MB / 0.9669 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 8.792e-05/0.863, allocations: 121.8 kB / 1.265 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.863, allocations: 0 / 1.265 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.863, allocations: 11.84 kB / 1.265 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.863, allocations: 4 kB / 1.265 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.863, allocations: 0 / 1.265 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.863, allocations: 7.938 kB / 1.265 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.8632, allocations: 177.6 kB / 1.265 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8633, allocations: 0 / 1.265 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.383e-05/0.8634, allocations: 15.98 kB / 1.265 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.8634, allocations: 336 / 1.265 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.8634, allocations: 0 / 1.265 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.8634, allocations: 0 / 1.265 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.8634, allocations: 0 / 1.265 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.8637, allocations: 195.4 kB / 1.265 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.8638, allocations: 85.05 kB / 1.265 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.8638, allocations: 0 / 1.265 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.727e-05/0.8639, allocations: 7.984 kB / 1.265 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/0.864, allocations: 11.98 kB / 1.265 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.864, allocations: 3.938 kB / 1.265 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.475e-05/0.864, allocations: 99.5 kB / 1.266 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.864, allocations: 0 / 1.266 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002187/0.8643, allocations: 11.95 kB / 1.266 GB, free: 2.168 MB / 0.9669 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.0006319/0.8649, allocations: 0.7047 MB / 1.266 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002687/0.8652, allocations: 63.89 kB / 1.266 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.8652, allocations: 0 / 1.266 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.8653, allocations: 31.97 kB / 1.266 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.8656, allocations: 5.875 kB / 1.266 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.8673, allocations: 1.315 MB / 1.268 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.8676, allocations: 0.6885 MB / 1.268 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.029e-05/0.8677, allocations: 7.906 kB / 1.268 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.134e-05/0.8677, allocations: 19.38 kB / 1.268 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.8677, allocations: 0 / 1.268 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.8905, allocations: 1.847 MB / 1.27 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.133/9.023, allocations: 3.938 kB / 1.27 GB, free: 13.47 MB / 0.9825 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.260490615153685]