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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00197/0.00197, allocations: 214.6 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.272/3.272, allocations: 0.5107 GB / 0.8158 GB, free: 17.76 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 66.05 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.345, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002078/0.3471, allocations: 0.7018 MB / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.3482, allocations: 0.8587 MB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.531e-05/0.3482, allocations: 4 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.91e-05/0.3482, allocations: 3.938 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.853e-05/0.3483, allocations: 3.938 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.3485, allocations: 27.89 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.223e-05/0.3486, allocations: 39.98 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.905e-05/0.3487, allocations: 19.92 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.563e-05/0.3487, allocations: 23.91 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.358e-05/0.3488, allocations: 15.92 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.3488, allocations: 8 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.139e-05/0.3488, allocations: 4 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.374e-05/0.3488, allocations: 11.92 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.157e-05/0.3489, allocations: 15.94 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.349, allocations: 48.06 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.349, allocations: 0 / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.353e-06/0.349, allocations: 0 / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.349, allocations: 4 kB / 1.365 GB, free: 12.25 MB / 1.061 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.0005543/0.3495, allocations: 278.3 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.3496, allocations: 12.03 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.48e-05/0.3496, allocations: 30.75 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.3497, allocations: 4.891 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.3499, allocations: 118.4 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.3499, allocations: 4.375 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.3499, allocations: 4.125 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.3501, allocations: 65.66 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.3502, allocations: 11.92 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.3502, allocations: 0 / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.3502, allocations: 0 / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002198/0.3504, allocations: 51.95 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005431/0.3509, allocations: 251.8 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.3512, allocations: 66.56 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.3513, allocations: 32.88 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.3513, allocations: 8 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.3513, allocations: 30.56 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3513, allocations: 0 / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0004746/0.3518, allocations: 109.6 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.3519, allocations: 51.41 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.352, allocations: 109.8 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.352, allocations: 29.64 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.892e-05/0.3521, allocations: 88.09 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.3521, allocations: 19.88 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.3522, allocations: 17.72 kB / 1.366 GB, free: 10.7 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3523, allocations: 314.8 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.3524, allocations: 23.97 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.3525, allocations: 31.97 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.3527, allocations: 52.81 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3527, allocations: 0 / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002475/0.353, allocations: 93.55 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.353, allocations: 4 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.353, allocations: 0 / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.353, allocations: 336 / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.3531, allocations: 15.98 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3531, allocations: 0 / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.642e-05/0.3532, allocations: 7.984 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.3532, allocations: 3.938 kB / 1.367 GB, free: 10.15 MB / 1.061 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 0.0001139/0.3533, allocations: 121.8 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.3534, allocations: 0 / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.405e-05/0.3534, allocations: 11.98 kB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.3534, allocations: 3.938 kB / 1.367 GB, free: 9.992 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3534, allocations: 0 / 1.367 GB, free: 9.992 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3534, allocations: 0 / 1.367 GB, free: 9.992 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.3536, allocations: 144.6 kB / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3536, allocations: 0 / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.556e-05/0.3537, allocations: 19.92 kB / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3537, allocations: 0 / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.3537, allocations: 7.984 kB / 1.367 GB, free: 9.781 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3537, allocations: 0 / 1.367 GB, free: 9.781 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3537, allocations: 4 kB / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/0.3541, allocations: 179.4 kB / 1.367 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.317e-05/0.3541, allocations: 3.953 kB / 1.367 GB, free: 9.582 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.3541, allocations: 4 kB / 1.367 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.306e-05/0.3542, allocations: 7.984 kB / 1.367 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.246e-05/0.3543, allocations: 7.984 kB / 1.367 GB, free: 9.562 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.3543, allocations: 4 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.871e-05/0.3543, allocations: 91.22 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3543, allocations: 0 / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002143/0.3545, allocations: 8 kB / 1.368 GB, free: 9.461 MB / 1.061 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.0007295/0.3553, allocations: 0.7163 MB / 1.368 GB, free: 8.719 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002561/0.3555, allocations: 51.89 kB / 1.368 GB, free: 8.668 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3555, allocations: 4 kB / 1.368 GB, free: 8.664 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.3557, allocations: 35.91 kB / 1.368 GB, free: 8.629 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.3561, allocations: 6.5 kB / 1.368 GB, free: 8.625 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.3578, allocations: 1.323 MB / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.725e-05/0.3579, allocations: 71.28 kB / 1.37 GB, free: 7.133 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.534e-05/0.3579, allocations: 7.984 kB / 1.37 GB, free: 7.125 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.583e-05/0.358, allocations: 15.44 kB / 1.37 GB, free: 7.109 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/0.358, allocations: 0 / 1.37 GB, free: 7.109 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.3875, allocations: 2.418 MB / 1.372 GB, free: 4.836 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.77, allocations: 9.969 kB / 1.372 GB, free: 4.832 MB / 1.061 GB " [Timeout remaining time 288] (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/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: 18.636168831028044]