Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001652/0.001652, allocations: 104.1 kB / 16.45 MB, free: 6.5 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.001956/0.001956, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.537/1.537, allocations: 230.6 MB / 252.8 MB, free: 8.941 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.244/3.244, allocations: 0.49 GB / 0.7916 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_12_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.002006/0.002006, allocations: 72.23 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3664, allocations: 176.1 MB / 1.321 GB, free: 3.277 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001979/0.3684, allocations: 0.7034 MB / 1.322 GB, free: 2.582 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.3695, allocations: 0.8631 MB / 1.322 GB, free: 1.707 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.997e-05/0.3696, allocations: 0 / 1.322 GB, free: 1.707 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.45e-05/0.3696, allocations: 7.938 kB / 1.322 GB, free: 1.699 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.66e-05/0.3697, allocations: 11.92 kB / 1.322 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.3699, allocations: 19.97 kB / 1.322 GB, free: 1.668 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.686e-05/0.37, allocations: 47.84 kB / 1.322 GB, free: 1.621 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3701, allocations: 8 kB / 1.322 GB, free: 1.613 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.924e-05/0.3701, allocations: 27.86 kB / 1.322 GB, free: 1.586 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.602e-05/0.3702, allocations: 27.89 kB / 1.322 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.3702, allocations: 4 kB / 1.322 GB, free: 1.555 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.261e-05/0.3703, allocations: 4 kB / 1.322 GB, free: 1.551 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.191e-05/0.3703, allocations: 8 kB / 1.323 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.3703, allocations: 23.86 kB / 1.323 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.3704, allocations: 52.06 kB / 1.323 GB, free: 1.469 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3704, allocations: 0 / 1.323 GB, free: 1.469 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.933e-06/0.3704, allocations: 0 / 1.323 GB, free: 1.469 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.3705, allocations: 4 kB / 1.323 GB, free: 1.465 MB / 1.014 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.0006211/0.3711, allocations: 351.3 kB / 1.323 GB, free: 1.074 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.3711, allocations: 11.98 kB / 1.323 GB, free: 1.062 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.945e-05/0.3712, allocations: 38.75 kB / 1.323 GB, free: 1.016 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.831e-05/0.3712, allocations: 4.875 kB / 1.323 GB, free: 1.012 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.3714, allocations: 176.3 kB / 1.323 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.3714, allocations: 8.297 kB / 1.323 GB, free: 0.793 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.3714, allocations: 8.125 kB / 1.323 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.3716, allocations: 69.66 kB / 1.323 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3716, allocations: 0 / 1.323 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3716, allocations: 3.984 kB / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.3717, allocations: 0 / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.3719, allocations: 51.95 kB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.3724, allocations: 288.8 kB / 1.324 GB, free: 332 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.3726, allocations: 62.53 kB / 1.324 GB, free: 260 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.3727, allocations: 28.92 kB / 1.324 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.3727, allocations: 4 kB / 1.324 GB, free: 224 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.3728, allocations: 34.56 kB / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.3728, allocations: 3.938 kB / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0004659/0.3732, allocations: 113.5 kB / 1.324 GB, free: 56 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.3733, allocations: 51.41 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.3734, allocations: 114.1 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.3734, allocations: 29.7 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.103e-05/0.3735, allocations: 84.14 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.3735, allocations: 11.91 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.3735, allocations: 21.7 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3737, allocations: 314.8 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.3738, allocations: 27.97 kB / 1.324 GB, free: 15.37 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.144e-05/0.3739, allocations: 19.98 kB / 1.324 GB, free: 15.35 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.3741, allocations: 60.81 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3741, allocations: 0 / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002529/0.3743, allocations: 85.58 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3743, allocations: 4 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.3743, allocations: 0 / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3743, allocations: 0 / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.3745, allocations: 23.98 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.3745, allocations: 4.062 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.168e-05/0.3746, allocations: 19.81 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.3746, allocations: 3.938 kB / 1.325 GB, free: 15.14 MB / 1.029 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.289e-05/0.3746, allocations: 109.8 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.3747, allocations: 4.328 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.3747, allocations: 7.906 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.3747, allocations: 0 / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.3747, allocations: 3.984 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3747, allocations: 7.984 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.3749, allocations: 169.6 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.3749, allocations: 4 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.462e-05/0.375, allocations: 15.98 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.375, allocations: 0 / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.375, allocations: 7.922 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.375, allocations: 0 / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.375, allocations: 0 / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.3753, allocations: 191.4 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-05/0.3754, allocations: 77.11 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.3754, allocations: 0 / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.3755, allocations: 7.984 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/0.3756, allocations: 8 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.3756, allocations: 3.984 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.617e-05/0.3756, allocations: 91.22 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3756, allocations: 4 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002135/0.3758, allocations: 7.938 kB / 1.325 GB, free: 14.33 MB / 1.029 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.0006393/0.3765, allocations: 0.7202 MB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002698/0.3768, allocations: 55.94 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3768, allocations: 0 / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.3769, allocations: 35.91 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.3772, allocations: 6.062 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.3788, allocations: 1.331 MB / 1.327 GB, free: 12.08 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.3792, allocations: 0.6807 MB / 1.328 GB, free: 11.37 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.704e-05/0.3792, allocations: 0 / 1.328 GB, free: 11.37 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.994e-05/0.3793, allocations: 19.42 kB / 1.328 GB, free: 11.35 MB / 1.029 GB Notification: Performance of SimCode: time 6.81e-07/0.3793, allocations: 0 / 1.328 GB, free: 11.35 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.4055, allocations: 1.845 MB / 1.33 GB, free: 9.609 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.191/8.596, allocations: 11.91 kB / 1.33 GB, free: 9.598 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable addPar.u in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.csv. Warning: Get data of variable addPar.u from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.csv failed! Error: Could not read variable addPar.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.csv. Warning: Get data of variable addPar.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.585420978954062]